Documentation TYPO3 par Ameos |
Public Member Functions | |
load ($modulesArray, $BE_USER='') | |
checkExtensionModule ($name) | |
checkMod ($name, $fullpath) | |
checkModAccess ($name, $MCONF) | |
parseModulesArray ($arr) | |
cleanName ($str) | |
getRelativePath ($baseDir, $destDir) | |
load ($modulesArray, $BE_USER='') | |
checkExtensionModule ($name) | |
checkMod ($name, $fullpath) | |
checkModAccess ($name, $MCONF) | |
parseModulesArray ($arr) | |
cleanName ($str) | |
getRelativePath ($baseDir, $destDir) | |
Public Attributes | |
$modules = Array() | |
$absPathArray = array() | |
$modListGroup = Array() | |
$modListUser = Array() | |
$BE_USER = '' |
Definition at line 78 of file class.t3lib_loadmodules.php.
|
If the module name ($name) is a module from an extension (has path in $this->absPathArray) then that path is returned relative to PATH_site
Definition at line 366 of file class.t3lib_loadmodules.php. |
|
If the module name ($name) is a module from an extension (has path in $this->absPathArray) then that path is returned relative to PATH_site
Definition at line 366 of file class.t3lib_loadmodules.php. Referenced by load(). |
|
Here we check for the module. Return values: 'notFound': If the module was not found in the path (no "conf.php" file) false: If no access to the module (access check failed) array(): Configuration array, in case a valid module where access IS granted exists.
Definition at line 385 of file class.t3lib_loadmodules.php. References checkModAccess(), getRelativePath(), and t3lib_div::resolveBackPath(). |
|
Here we check for the module. Return values: 'notFound': If the module was not found in the path (no "conf.php" file) false: If no access to the module (access check failed) array(): Configuration array, in case a valid module where access IS granted exists.
Definition at line 385 of file class.t3lib_loadmodules.php. References checkModAccess(), getRelativePath(), and t3lib_div::resolveBackPath(). Referenced by load(). |
|
Returns true if the internal BE_USER has access to the module $name with $MCONF (based on security level set for that module)
Definition at line 465 of file class.t3lib_loadmodules.php. |
|
Returns true if the internal BE_USER has access to the module $name with $MCONF (based on security level set for that module)
Definition at line 465 of file class.t3lib_loadmodules.php. Referenced by checkMod(). |
|
The $str is cleaned so that it contains alphanumerical characters only. Modules must only consist of these characters
Definition at line 517 of file class.t3lib_loadmodules.php. |
|
The $str is cleaned so that it contains alphanumerical characters only. Modules must only consist of these characters
Definition at line 517 of file class.t3lib_loadmodules.php. |
|
Get relative path for $destDir compared to $baseDir
Definition at line 528 of file class.t3lib_loadmodules.php. |
|
Get relative path for $destDir compared to $baseDir
Definition at line 528 of file class.t3lib_loadmodules.php. Referenced by checkMod(). |
|
Init. The outcome of the load() function will be a $this->modules array populated with the backend module structure available to the BE_USER Further the global var $LANG will have labels and images for the modules loaded in an internal array.
Definition at line 97 of file class.t3lib_loadmodules.php. References $BE_USER, checkExtensionModule(), checkMod(), and parseModulesArray(). |
|
Init. The outcome of the load() function will be a $this->modules array populated with the backend module structure available to the BE_USER Further the global var $LANG will have labels and images for the modules loaded in an internal array.
Definition at line 97 of file class.t3lib_loadmodules.php. References $BE_USER, checkExtensionModule(), checkMod(), and parseModulesArray(). |
|
Parses the moduleArray ($TBE_MODULES) into a internally useful structure. Returns an array where the keys are names of the module and the values may be true (only module) or an array (of submodules)
Definition at line 488 of file class.t3lib_loadmodules.php. References t3lib_div::trimExplode(). |
|
Parses the moduleArray ($TBE_MODULES) into a internally useful structure. Returns an array where the keys are names of the module and the values may be true (only module) or an array (of submodules)
Definition at line 488 of file class.t3lib_loadmodules.php. References t3lib_div::trimExplode(). Referenced by load(). |