[TYPO3-dev] [BE] makeInstance and call userfunc

Gijs Epping gijs.epping at efocus.nl
Tue Jan 29 16:44:18 CET 2008


Francois Suter schreef:
> Hi,
> 
>> Thansk allot that got us a bit further, but the pibase functions are 
>> not working, pi1 is extended with pibase like so
>>
>> class tx_efrpho_pi1 extends tslib_pibase {
>>     <code>
>> }
> 
> The issue seems to be that the $cObj member variable is not initialised. 
> I don't know where this takes place, so I can't tell you what code you 
> need. Try searching in the source for an example of something like 
> t3lib_div::makeInstance('tslib_cObj'), it may give you pointers.
> 
> HTH
> 

Thanks, i replaced $this->IMAGE(); with $GLOBALS['TSFE']->cObj->IMAGE() 
and that is working but not for:

$GLOBALS['TSFE']->cObj->pi_linkTP_keepPIvars_url

Any idea if the t3lib_pibase is in the globals?

Regards Gijs




More information about the TYPO3-dev mailing list