[Typo3-dev] Need help extending a system class

Martin T. Kutschker Martin.T.Kutschker at blackbox.net
Mon Apr 12 10:58:25 CEST 2004


Jochen Weiland wrote:
> I need to manipulate all links that are generated by the typolink 
> function in Typo3. I thought the best way would be to write an extension 
> class for the typolink function (similar to the example that manipulates 
> the title string):
> 
> require_once (PATH_tslib."class.tslib_content.php");
> 
> class ux_txslib_content extends tslib_content {...}
> 
> But this always results in the error:
> 
> Fatal error: Class ux_tslib_content: Cannot inherit from undefined class 
> tslib_content
> 
> Any idea what I am doing wrong?

Perhapsyou should have a look at tslib_content.php and see what classes 
it provides.

Masi





More information about the TYPO3-dev mailing list