00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00050 require_once(PATH_t3lib.'class.t3lib_extobjbase.php');
00051
00052
00053
00054
00055
00056
00057
00066 class tx_funcwizards_webfunc extends t3lib_extobjbase {
00067 var $function_key = 'wiz';
00068
00078 function init(&$pObj,$conf) {
00079
00080 parent::init($pObj,$conf);
00081
00082
00083 $this->handleExternalFunctionValue();
00084 }
00085
00092 function modMenu() {
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 }
00104
00111 function main() {
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 }
00124 }
00125
00126 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/func_wizards/class.tx_funcwizards_webfunc.php']) {
00127 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/func_wizards/class.tx_funcwizards_webfunc.php']);
00128 }
00129 ?>