[TYPO3-dev] Failed intialization

Tapio Markula tapio.markula at xetpoint.fi
Sat Jul 28 19:52:25 CEST 2007


HI

I made special doktypes new function for 
/templavoila/mod1/class.tx_templavoila_mod1_specialdoktypes.php

class ux_tx_templavoila_mod1_specialdoktypes extends 
tx_templavoila_mod1_specialdoktypes {
...
function renderDoktype_199($pageRecord) {...

the new function was ignored here in mod1/index.php

                $specialDoktypesObj =& t3lib_div::getUserObj 
('&tx_templavoila_mod1_specialdoktypes','');
                $specialDoktypesObj->init($this);
                              $methodName = 
'renderDoktype_'.$this->rootElementRecord['doktype'];
                if (method_exists($specialDoktypesObj, $methodName)) {
                    $result = 
$specialDoktypesObj->$methodName($this->rootElementRecord);
                    if ($result !== FALSE) {
                        $this->content .= $result;

I don't understand why the initialization failed.




More information about the TYPO3-dev mailing list