Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
menuConfig () | |
mergeExternalItems ($modName, $menuKey, $menuArr) | |
handleExternalFunctionValue ($MM_key='function', $MS_value=NULL) | |
getExternalItemConfig ($modName, $menuKey, $value='') | |
checkExtObj () | |
checkSubExtObj () | |
extObjHeader () | |
extObjContent () | |
init () | |
menuConfig () | |
mergeExternalItems ($modName, $menuKey, $menuArr) | |
handleExternalFunctionValue ($MM_key='function', $MS_value=NULL) | |
getExternalItemConfig ($modName, $menuKey, $value='') | |
checkExtObj () | |
checkSubExtObj () | |
extObjHeader () | |
extObjContent () | |
Public Attributes | |
$MCONF = array() | |
$id | |
$CMD | |
$perms_clause | |
$MOD_MENU | |
$MOD_SETTINGS = array() | |
$modTSconfig | |
$modMenu_type = '' | |
$modMenu_dontValidateList = '' | |
$modMenu_setDefaultList = '' | |
$extClassConf | |
$include_once = array() | |
$content = '' | |
$doc | |
$extObj |
Definition at line 133 of file class.t3lib_scbase.php.
|
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.
Definition at line 344 of file class.t3lib_scbase.php. References t3lib_div::_GP(), t3lib_BEfunc::getModuleData(), and t3lib_div::makeInstance(). |
|
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.
Definition at line 344 of file class.t3lib_scbase.php. References t3lib_div::_GP(), t3lib_BEfunc::getModuleData(), and t3lib_div::makeInstance(). Referenced by SC_mod_tools_log_index::main(). |
|
Calls the checkExtObj function in sub module if present.
Definition at line 358 of file class.t3lib_scbase.php. |
|
Calls the checkExtObj function in sub module if present.
Definition at line 358 of file class.t3lib_scbase.php. |
|
Calls the 'main' function inside the "Function menu module" if present
Definition at line 379 of file class.t3lib_scbase.php. |
|
Calls the 'main' function inside the "Function menu module" if present
Definition at line 379 of file class.t3lib_scbase.php. Referenced by SC_mod_web_info_index::main(), SC_mod_web_func_index::main(), SC_mod_tools_em_index::main(), SC_mod_web_ts_index::main(), and SC_mod_tools_em_index::showExtDetails(). |
|
Calls the 'header' function inside the "Function menu module" if present. A header function might be needed to add JavaScript or other stuff in the head. This can't be done in the main function because the head is already written. example call in the header function: $this->pObj->doc->JScode = $this->pObj->doc->wrapScriptTags(' ...
Definition at line 370 of file class.t3lib_scbase.php. |
|
Calls the 'header' function inside the "Function menu module" if present. A header function might be needed to add JavaScript or other stuff in the head. This can't be done in the main function because the head is already written. example call in the header function: $this->pObj->doc->JScode = $this->pObj->doc->wrapScriptTags(' ...
Definition at line 370 of file class.t3lib_scbase.php. |
|
Returns configuration values from the global variable $TBE_MODULES_EXT for the module given. For example if the module is named "web_info" and the "function" key ($menuKey) of MOD_SETTINGS is "stat" ($value) then you will have the values of $TBE_MODULES_EXT['webinfo']['MOD_MENU']['function']['stat'] returned.
Definition at line 330 of file class.t3lib_scbase.php. |
|
Returns configuration values from the global variable $TBE_MODULES_EXT for the module given. For example if the module is named "web_info" and the "function" key ($menuKey) of MOD_SETTINGS is "stat" ($value) then you will have the values of $TBE_MODULES_EXT['webinfo']['MOD_MENU']['function']['stat'] returned.
Definition at line 330 of file class.t3lib_scbase.php. Referenced by handleExternalFunctionValue(), SC_mod_tools_em_index::handleExternalFunctionValue(), and SC_mod_user_task_overview::includeAllClasses(). |
|
Loads $this->extClassConf with the configuration for the CURRENT function of the menu. If for this array the key 'path' is set then that is expected to be an absolute path to a file which should be included - so it is set in the internal array $this->include_once
Reimplemented in SC_mod_tools_em_index. Definition at line 312 of file class.t3lib_scbase.php. References getExternalItemConfig(). |
|
Loads $this->extClassConf with the configuration for the CURRENT function of the menu. If for this array the key 'path' is set then that is expected to be an absolute path to a file which should be included - so it is set in the internal array $this->include_once
Reimplemented in SC_mod_tools_em_index. Definition at line 312 of file class.t3lib_scbase.php. References getExternalItemConfig(). Referenced by init(). |
|
Initializes the backend module by setting internal variables, initializing the menu.
Reimplemented in SC_mod_tools_log_index, SC_mod_web_ts_index, and SC_mod_tools_em_index. Definition at line 249 of file class.t3lib_scbase.php. References t3lib_div::_GP(), handleExternalFunctionValue(), and menuConfig(). |
|
Initializes the backend module by setting internal variables, initializing the menu.
Reimplemented in SC_mod_tools_log_index, SC_mod_web_ts_index, and SC_mod_tools_em_index. Definition at line 249 of file class.t3lib_scbase.php. References t3lib_div::_GP(), handleExternalFunctionValue(), and menuConfig(). |
|
Initializes the internal MOD_MENU array setting and unsetting items based on various conditions. It also merges in external menu items from the global array TBE_MODULES_EXT (see mergeExternalItems()) Then MOD_SETTINGS array is cleaned up (see t3lib_BEfunc::getModuleData()) so it contains only valid values. It's also updated with any SET[] values submitted. Also loads the modTSconfig internal variable.
Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 269 of file class.t3lib_scbase.php. References t3lib_div::_GP(), t3lib_BEfunc::getModTSconfig(), t3lib_BEfunc::getModuleData(), mergeExternalItems(), and t3lib_BEfunc::unsetMenuItems(). |
|
Initializes the internal MOD_MENU array setting and unsetting items based on various conditions. It also merges in external menu items from the global array TBE_MODULES_EXT (see mergeExternalItems()) Then MOD_SETTINGS array is cleaned up (see t3lib_BEfunc::getModuleData()) so it contains only valid values. It's also updated with any SET[] values submitted. Also loads the modTSconfig internal variable.
Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 269 of file class.t3lib_scbase.php. References t3lib_div::_GP(), t3lib_BEfunc::getModTSconfig(), t3lib_BEfunc::getModuleData(), mergeExternalItems(), and t3lib_BEfunc::unsetMenuItems(). Referenced by init(). |
|
Merges menu items from global array $TBE_MODULES_EXT
Definition at line 292 of file class.t3lib_scbase.php. |
|
Merges menu items from global array $TBE_MODULES_EXT
Definition at line 292 of file class.t3lib_scbase.php. Referenced by menuConfig(), and SC_mod_tools_em_index::menuConfig(). |
|
The value of GET/POST var, 'CMD'
Reimplemented in SC_mod_tools_em_index. Definition at line 151 of file class.t3lib_scbase.php. |
|
Generally used for accumulating the output content of backend modules Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 222 of file class.t3lib_scbase.php. Referenced by tx_version_cm1::moduleContent(), and tx_version_cm1::pageSubContent(). |
|
Generally used to hold an instance of the 'template' class from typo3/template.php Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 227 of file class.t3lib_scbase.php. |
|
Contains module configuration parts from TBE_MODULES_EXT if found
Definition at line 210 of file class.t3lib_scbase.php. |
|
May contain an instance of a 'Function menu module' which connects to this backend module.
Definition at line 234 of file class.t3lib_scbase.php. Referenced by SC_mod_user_task_overview::main(). |
|
The integer value of the GET/POST var, 'id'. Used for submodules to the 'Web' module (page id)
Definition at line 145 of file class.t3lib_scbase.php. Referenced by SC_mod_web_ts_index::createTemplate(). |
|
Contains absolute paths to class files to include from the global scope. This is done in the module index.php files after calling the init() function
Definition at line 217 of file class.t3lib_scbase.php. |
|
Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.
Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 139 of file class.t3lib_scbase.php. |
|
Initial value: Array ( 'function' => array() )
Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 165 of file class.t3lib_scbase.php. |
|
Current settings for the keys of the MOD_MENU array
Reimplemented in SC_mod_tools_log_index, and SC_mod_tools_em_index. Definition at line 173 of file class.t3lib_scbase.php. |
|
dontValidateList can be used to list variables that should not be checked if their value is found in the MOD_MENU array. Used for dynamically generated menus. Can be set from extension classes of this class before the init() function is called.
Reimplemented in SC_mod_web_ts_index. Definition at line 195 of file class.t3lib_scbase.php. |
|
List of default values from $MOD_MENU to set in the output array (only if the values from MOD_MENU are not arrays) Can be set from extension classes of this class before the init() function is called.
Reimplemented in SC_mod_web_ts_index. Definition at line 203 of file class.t3lib_scbase.php. |
|
If type is 'ses' then the data is stored as session-lasting data. This means that it'll be wiped out the next time the user logs in. Can be set from extension classes of this class before the init() function is called.
Reimplemented in SC_mod_web_ts_index. Definition at line 187 of file class.t3lib_scbase.php. |
|
Module TSconfig based on PAGE TSconfig / USER TSconfig
Definition at line 179 of file class.t3lib_scbase.php. |
|
A WHERE clause for selection records from the pages table based on read-permissions of the current backend user.
Reimplemented in SC_mod_web_ts_index. Definition at line 157 of file class.t3lib_scbase.php. |