コード例 #1
0
 /**
  * Creates an instance of the class found in $this->extClassConf['name'] in $this->extObj if any (this should hold three keys, "name", "path" and "title" if a "Function menu module" tries to connect...)
  * This value in extClassConf might be set by an extension (in a ext_tables/ext_localconf file) which thus "connects" to a module.
  * The array $this->extClassConf is set in handleExternalFunctionValue() based on the value of MOD_SETTINGS[function]
  * (Should be) called from global scope right after inclusion of files from the ->include_once array.
  * If an instance is created it is initiated with $this passed as value and $this->extClassConf as second argument. Further the $this->MOD_SETTING is cleaned up again after calling the init function.
  *
  * @return	void
  * @see handleExternalFunctionValue(), t3lib_extMgm::insertModuleFunction(), $extObj
  */
 function checkExtObj()
 {
     parent::checkExtObj();
     foreach ($this->MOD_MENU as $key => $value) {
         $override = $this->config_checkValueEnabled('options.' . $key . '.value', '_magic_MOD_MENU_');
         if (!is_array($value) and $override !== '_magic_MOD_MENU_') {
             $this->MOD_SETTINGS[$key] = $override;
         }
     }
 }