/** * Initialize. * Calls parent init function and then the handleExternalFunctionValue() function from the parent class * * @param object A reference to the parent (calling) object (which is probably an instance of an extension class to t3lib_SCbase) * @param array The configuration set for this module - from global array TBE_MODULES_EXT * @return void * @see t3lib_extobjbase::handleExternalFunctionValue(), t3lib_extobjbase::init() */ function init(&$pObj, $conf) { // OK, handles ordinary init. This includes setting up the menu array with ->modMenu parent::init($pObj, $conf); // Making sure that any further external classes are added to the include_once array. Notice that inclusion happens twice in the main script because of this!!! $this->handleExternalFunctionValue(); }
/** * Does some initial work for the page * * @return array */ function init(&$pObj, $conf) { $pObj->doc->divClass = 'typo3-fullDoc'; // load languages $trans = t3lib_div::makeInstance('t3lib_transl8tools'); $this->sysLanguages = $trans->getSystemLanguages($pObj->id, $GLOBALS['BACK_PATH']); // see if multiple languages exist in the system (array includes more than "0" (default) and "-1" (all)) $this->sysHasLangs = count($this->sysLanguages) > 2 ? true : false; parent::init($pObj, $conf); }
function init(&$pObj, $conf) { parent::init($pObj, $conf); $this->pObj->modMenu_dontValidateList .= ',ts_browser_toplevel_setup,ts_browser_toplevel_const,ts_browser_TLKeys_setup,ts_browser_TLKeys_const'; $this->pObj->modMenu_setDefaultList .= ',ts_browser_fixedLgd,ts_browser_showComments'; }
function init(&$pObj, $conf) { parent::init($pObj, $conf); $this->pObj->modMenu_setDefaultList .= ',ts_analyzer_checkLinenum,ts_analyzer_checkSyntax'; }