Public Member Functions | |
init (&$pObj, $conf) | |
Initialize. | |
modMenu () | |
Modifies parent objects internal MOD_MENU array, adding items this module needs. | |
main () | |
Creation of the main content. | |
Public Attributes | |
$function_key = 'wiz' | |
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. |
|
Initialize. Calls parent init function and then the handleExternalFunctionValue() function from the parent class
Reimplemented from t3lib_extobjbase. Definition at line 78 of file class.tx_funcwizards_webfunc.php. References t3lib_extobjbase::handleExternalFunctionValue(). 00078 { 00079 // OK, handles ordinary init. This includes setting up the menu array with ->modMenu 00080 parent::init($pObj,$conf); 00081 00082 // 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!!! 00083 $this->handleExternalFunctionValue(); 00084 }
|
|
Creation of the main content. Calling extObjContent() to trigger content generation from the sub-sub modules
Definition at line 111 of file class.tx_funcwizards_webfunc.php. References $content, $LANG, and menu(). 00111 { 00112 global $SOBE,$LANG; 00113 00114 $menu= $LANG->getLL('wiz_lWizards',1).': '.t3lib_BEfunc::getFuncMenu($this->pObj->id,'SET[wiz]',$this->pObj->MOD_SETTINGS['wiz'],$this->pObj->MOD_MENU['wiz']); 00115 $theOutput.=$this->pObj->doc->section('','<span class="nobr">'.$menu.'</span>'); 00116 00117 $content = ''; 00118 $content.=$theOutput; 00119 $content.=$this->pObj->doc->spacer(5); 00120 $content.=$this->extObjContent(); 00121 00122 return $content; 00123 }
|
|
Modifies parent objects internal MOD_MENU array, adding items this module needs.
Definition at line 92 of file class.tx_funcwizards_webfunc.php. References menu(), and t3lib_BEfunc::unsetMenuItems(). 00092 { 00093 global $LANG; 00094 00095 $modMenuAdd = array( 00096 $this->function_key => array() 00097 ); 00098 00099 $modMenuAdd[$this->function_key] = $this->pObj->mergeExternalItems($this->pObj->MCONF['name'],$this->function_key,$modMenuAdd[$this->function_key]); 00100 $modMenuAdd[$this->function_key] = t3lib_BEfunc::unsetMenuItems($this->pObj->modTSconfig['properties'],$modMenuAdd[$this->function_key],'menu.'.$this->function_key); 00101 00102 return $modMenuAdd; 00103 }
|
|
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 from t3lib_extobjbase. Definition at line 67 of file class.tx_funcwizards_webfunc.php. |