[TYPO3-dev] call_user_func and sending parameters
Tapio Markula
tapio.markula at xetpoint.fi
Wed Aug 15 10:40:07 CEST 2007
Felix Eckhofer kirjoitti:
> Hi.
>
> On Tuesday, 14. August 2007, Tapio Markula wrote:
>> call_user_func(array($classname, 'say_hello'));
>
> call_user_func(array($classname, 'say_hello'), 'hello');
>
>
> Gruß
> felix
>
Anyway I got this solved with another method (used in TemplaVoila)
$methodName = 'renderDoktype_'.$this->doktype;
$specialDoktypesObj =& t3lib_div::getUserObj
('&tx_tmcontentaccess_specialdoktypes','');
$dblist->HTMLcode .=
$specialDoktypesObj->$methodName($this->pageRecord);
More information about the TYPO3-dev
mailing list