[TYPO3-english] XClassing again
typo3 at kay-strobach.de
Fri Mar 29 09:38:17 CET 2013
there is a different between TYPO3 4.5 and 6.0!
It's important, that prior 6.0 each class needs the xclass loop. In 6.0
you may use the autoloading mechanism for xclassing ;)
Xclassing is only working if you use t3lib_div::makeInstance.
Xclasses are ignored by "new".
In the reports module you should find a list of your defined xclasses.
Ensure a proper ext_autoload file!
Am 28.03.13 20:49, schrieb Tomasz Krawczyk:
>>> is it possible to XClass a class which takes some parameters in its
>> Most times, yes, but the interface must be equal!
> Could you tell me where I can see this?
> I have a problem XClassing LocalPreviewHelper class...
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
More information about the TYPO3-english