Solutions Open Source

Référence de la classe t3lib_extobjbase

Graphe d'héritage de t3lib_extobjbase:

Inheritance graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 init (&$pObj, $conf)
 handleExternalFunctionValue ()
 incLocalLang ()
 checkExtObj ()
 extObjContent ()
 modMenu ()

Attributs publics

 $pObj
 $thisPath = ''
 $localLangFile = 'locallang.php'
 $extClassConf
 $function_key = ''


Documentation des fonctions membres

t3lib_extobjbase::init ( &$  pObj,
conf 
)

Initialize the object

Paramètres:
object A reference to the parent (calling) object (which is probably an instance of an extension class to t3lib_SCbase)
array The configuration set for this module - from global array TBE_MODULES_EXT
Renvoie:
void
Voir également:
t3lib_SCbase::checkExtObj()

Réimplémentée dans tx_funcwizards_webfunc.

t3lib_extobjbase::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

Renvoie:
void
Voir également:
$function_key, tx_funcwizards_webfunc::init()

t3lib_extobjbase::incLocalLang (  ) 

Including any locallang file configured and merging its content over the current global LOCAL_LANG array (which is EXPECTED to exist!!!)

Renvoie:
void

t3lib_extobjbase::checkExtObj (  ) 

Same as t3lib_SCbase::checkExtObj()

Renvoie:
void
Voir également:
t3lib_SCbase::checkExtObj()

t3lib_extobjbase::extObjContent (  ) 

Calls the main function inside ANOTHER sub-submodule which might exist.

Renvoie:
void

t3lib_extobjbase::modMenu (  ) 

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()

Renvoie:
array A MOD_MENU array which will be merged together with the one from the parent object
Voir également:
init(), tx_cms_webinfo_page::modMenu()

Réimplémentée dans tx_belog_webinfo, tx_cms_webinfo_page, tx_cms_webinfo_lang, tx_funcwizards_webfunc, tx_indexedsearch_modfunc1, tx_infopagetsconfig_webinfo, tx_lowlevel_cleaner, tx_tstemplateanalyzer, tx_tstemplateinfo, tx_tstemplateobjbrowser, tx_wizardcrpages_webfunc_2, et tx_wizardsortpages_webfunc_2.


Documentation des données membres

t3lib_extobjbase::$pObj

Contains a reference to the parent object.

Voir également:
init()

t3lib_extobjbase::$thisPath = ''

Set to the directory name of this class file.

Voir également:
init()

t3lib_extobjbase::$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

Voir également:
incLocalLang()

Réimplémentée dans tx_belog_webinfo.

t3lib_extobjbase::$extClassConf

Contains module configuration parts from TBE_MODULES_EXT if found

Voir également:
handleExternalFunctionValue()

t3lib_extobjbase::$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. 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'

Voir également:
handleExternalFunctionValue(), tx_funcwizards_webfunc

Réimplémentée dans tx_funcwizards_webfunc.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:42:13 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3