[Typo3-dev] how to extend _Typoscript_ itself
tapio
tapio.markula at dnainternet.net
Wed Sep 7 22:36:04 CEST 2005
Wolfgang Klinger wrote:
> Hi!
>
> On Wed, 07 Sep 2005, tapio wrote the following:
>
>>> Why can't you extend tslib_cObj? What has it to do with this "SC_"
>>> thing?
>>
>>AFAIK extending existing classes works at this principle
>>
>>class ux_SC_someClass extends SC_someclass {
>
>
> oh..
> and what about class ux_tslib_cObj extends tslib_cObj? Why wouldn't
> that work?
I just expected that ux_something is only for SC_something.
Someone told me that I can't use XCLASS for some core classes and Typo
would accept on ux_something just for classes, which has the prefix
'SC_'. The prefix 'ux_' is defined somewhere as prefix for extension
classes - I just thought that Typo3 search also 'SC_' as required prefix.
>>In the end of php-files is commonly a key for XCLASS implementations.
>
>
> I know, but what the heck has that to do with TS?
If TS has been defined *inside* some core class it would be reasonable
to extend that class.
> OK, it's enough, maybe somebody else is calm enough to handle this :-)
> Sorry.
It is a pity, that you can't now behave calm. I have tried to explain
everything calm.
More information about the TYPO3-dev
mailing list