[TYPO3-english] do XCLASS from other class which is included in main class
May Dara
dara at gmail.com
Tue Jan 25 03:54:27 CET 2011
Dear Kay,
Thank you for your hint, I don't use "including".
now I found that the class I extended is the base class so it can't
allow to do XCLASS.
now I found way to solve it. First I found the class that extend it, and
I do XCLASS with that class. It works. ;)
Thank you,
On 01/21/2011 12:43 PM, Kay Strobach wrote:
> Hi May,
>
> i assume the "including" class uses new to instantiate the class you
> xclassed?
> If that's true, there is no way.
> XCLasses do only work very well with t3lib_div::makeInstance('<classname>');
>
> Regards
> Kay
>
> Am 21.01.2011 03:51, schrieb May Dara:
>> Dear TYPO3 Group,
>>
>> I have one problem with XCLASS:
>> Does somebody know XCLASS can extend other class which is included and
>> used in main class?
>>
>> For that class it has code that allow us to do XCLASS. And I have
>> configure follow XCLASS too. but it doesn't work for me.
>>
>> Please give me some hints. if it works, is any configuration need?
>>
>> I appreciate your hints.
>>
>> Thank you,
>>
>> Best Regard,
>
More information about the TYPO3-english
mailing list