Public Member Functions | |
init (&$pObj, $conf) | |
Initialize the object. | |
handleExternalFunctionValue () | |
If $this->function_key is set (which means there are two levels of object connectivity) then $this->extClassConf is loaded with the TBE_MODULES_EXT configuration for that sub-sub-module. | |
incLocalLang () | |
Including any locallang file configured and merging its content over the current global LOCAL_LANG array (which is EXPECTED to exist!!!). | |
Public Attributes | |
$pObj | |
Contains a reference to the parent object. | |
$thisPath = '' | |
Set to the directory name of this class file. | |
$localLangFile = 'locallang.php' | |
Can be hardcoded to the name of a locallang.php file (from the same directory as the class file) to use/load. | |
$extClassConf | |
Contains module configuration parts from TBE_MODULES_EXT if found. | |
$function_key = '' | |
If this value is set it points to a key in the TBE_MODULES_EXT array (not on the top level..) where another classname/filepath/title can be defined for sub-subfunctions. |
|
If $this->function_key is set (which means there are two levels of object connectivity) then $this->extClassConf is loaded with the TBE_MODULES_EXT configuration for that sub-sub-module.
Definition at line 221 of file class.t3lib_extobjbase.php. References t3lib_BEfunc::getModuleData(). Referenced by tx_funcwizards_webfunc::init(). 00221 { 00222 // Must clean first to make sure the correct key is set... 00223 $this->pObj->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->pObj->MOD_MENU, t3lib_div::_GP('SET'), $this->pObj->MCONF['name']); 00224 if ($this->function_key) { 00225 $this->extClassConf = $this->pObj->getExternalItemConfig($this->pObj->MCONF['name'],$this->function_key,$this->pObj->MOD_SETTINGS[$this->function_key]); 00226 if (is_array($this->extClassConf) && $this->extClassConf['path']) { 00227 $this->pObj->include_once[] = $this->extClassConf['path']; 00228 } 00229 } 00230 }
|
|
Including any locallang file configured and merging its content over the current global LOCAL_LANG array (which is EXPECTED to exist!!!).
Same as t3lib_SCbase::checkExtObj()
Calls the main function inside ANOTHER sub-submodule which might exist.
Dummy function - but is used to set up additional menu items for this submodule. For an example see the extension 'cms' where the 'web_info' submodule is defined in cms/web_info/class.tx_cms_webinfo.php, tx_cms_webinfo_page::modMenu()
Definition at line 237 of file class.t3lib_extobjbase.php. References $LANG, and $LOCAL_LANG. Referenced by init(). |
|
Initialize the object.
Reimplemented in tx_funcwizards_webfunc. Definition at line 197 of file class.t3lib_extobjbase.php. References incLocalLang(). 00197 { 00198 global $LANG; 00199 00200 $this->pObj = &$pObj; 00201 00202 // Path of this script: 00203 $this->thisPath = dirname($conf['path']); 00204 if (!@is_dir($this->thisPath)) { 00205 die('Error: '.$this->thisPath.' was not a directory as expected...'); 00206 } 00207 00208 // Local lang: 00209 $this->incLocalLang(); 00210 00211 // Setting MOD_MENU items as we need them for logging: 00212 $this->pObj->MOD_MENU = array_merge($this->pObj->MOD_MENU,$this->modMenu()); // Candidate for t3lib_div::array_merge() if integer-keys will some day make trouble... 00213 }
|
|
Contains module configuration parts from TBE_MODULES_EXT if found.
Definition at line 170 of file class.t3lib_extobjbase.php. |
|
If this value is set it points to a key in the TBE_MODULES_EXT array (not on the top level..) where another classname/filepath/title can be defined for sub-subfunctions. This is a little hard to explain, so see it in action; it used in the extension 'func_wizards' in order to provide yet a layer of interfacing with the backend module. The extension 'func_wizards' has this description: 'Adds the 'Wizards' item to the function menu in Web>Func. This is just a framework for wizard extensions.' - so as you can see it is designed to allow further connectivity - 'level 2'
Reimplemented in tx_funcwizards_webfunc. Definition at line 179 of file class.t3lib_extobjbase.php. |
|
Can be hardcoded to the name of a locallang.php file (from the same directory as the class file) to use/load.
Definition at line 163 of file class.t3lib_extobjbase.php. |
|
Contains a reference to the parent object.
Definition at line 151 of file class.t3lib_extobjbase.php. |
|
Set to the directory name of this class file.
Definition at line 157 of file class.t3lib_extobjbase.php. |