[Typo3-dev] how to extend _Typoscript_ itself

Wolfgang Klinger wolfgang at stufenlos.net
Wed Sep 7 20:33:52 CEST 2005


 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?

> >>Is there then a way to add new TS without modifying that file but just 
> >>writing some new TS defining a file for this key:
> >>
> >>$TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/class.tslib_content.php']);
> 
> >  Don't get that.
> 
> 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?

 ---- 8< --- snip ----

 OK, it's enough, maybe somebody else is calm enough to handle this :-)
 Sorry. 


 Wolfgang






More information about the TYPO3-dev mailing list