Documentation TYPO3 par Ameos |
Public Member Functions | |
init ($prefix='', $storeList='') | |
setSessionType ($type='ses') | |
setStoreList ($storeList) | |
addToStoreList ($storeList) | |
addToStoreListFromPrefix ($prefix='') | |
initStorage () | |
cleanupStorageArray ($storedSettings) | |
compileEntry ($data) | |
getStoredData ($storeIndex, $writeArray=array()) | |
processStoreControl ($mconfName='') | |
writeStoredSetting ($writeArray=array(), $mconfName='') | |
getStoreControl ($showElements='load, remove, save', $useOwnForm=TRUE) | |
processEntry ($storageArr) | |
Public Attributes | |
$type = 'perm' | |
$prefix = '' | |
$storeList = array() | |
$storedSettings = array() | |
$msg = '' | |
$formName = 'storeControl' | |
$writeDevLog = 0 |
Definition at line 125 of file class.t3lib_modsettings.php.
|
Add MOD_SETTINGS keys to the current list
Definition at line 231 of file class.t3lib_modsettings.php. References $storeList, t3lib_div::devLog(), and t3lib_div::trimExplode(). |
|
Add names of keys of the MOD_SETTING array by a prefix
Definition at line 245 of file class.t3lib_modsettings.php. References $prefix, and t3lib_div::devLog(). |
|
Remove corrupted data entries from the stored settings array
Definition at line 294 of file class.t3lib_modsettings.php. References $storedSettings. Referenced by initStorage(), and writeStoredSetting(). |
|
Creates an entry for the stored settings array Collects data from MOD_SETTINGS selected by the storeList
Definition at line 316 of file class.t3lib_modsettings.php. References processEntry(). Referenced by processStoreControl(). |
|
Returns the storage control box
Definition at line 474 of file class.t3lib_modsettings.php. References initStorage(), and t3lib_div::trimExplode(). |
|
Copies the stored data from entry $index to $writeArray which can be used to set MOD_SETTINGS
Definition at line 343 of file class.t3lib_modsettings.php. Referenced by processStoreControl(). |
|
Initializes the object
Definition at line 181 of file class.t3lib_modsettings.php. References $prefix, $storeList, and setStoreList(). |
|
Get the stored settings from MOD_SETTINGS and set them in $this->storedSettings
Definition at line 279 of file class.t3lib_modsettings.php. References $storedSettings, and cleanupStorageArray(). Referenced by getStoreControl(), and processStoreControl(). |
|
Processing entry for the stored settings array Can be overwritten by extended class
Definition at line 576 of file class.t3lib_modsettings.php. Referenced by compileEntry(). |
|
Processing of the storage command LOAD, SAVE, REMOVE
Definition at line 360 of file class.t3lib_modsettings.php. References $msg, t3lib_div::_GP(), t3lib_div::arrayToLogString(), compileEntry(), t3lib_div::devLog(), getStoredData(), initStorage(), t3lib_div::shortMD5(), and writeStoredSetting(). |
|
Set session type to 'ses' which will store the settings data not permanently.
Definition at line 197 of file class.t3lib_modsettings.php. References $type. |
|
Set MOD_SETTINGS keys which should be stored
Definition at line 218 of file class.t3lib_modsettings.php. References $storeList, t3lib_div::devLog(), and t3lib_div::trimExplode(). Referenced by init(). |
|
Write the current storage array and update MOD_SETTINGS
Definition at line 442 of file class.t3lib_modsettings.php. References cleanupStorageArray(), t3lib_div::devLog(), and t3lib_BEfunc::getModuleData(). Referenced by processStoreControl(). |
|
Name of the form. Needed for JS Definition at line 157 of file class.t3lib_modsettings.php. |
|
Message from the last storage command Definition at line 151 of file class.t3lib_modsettings.php. Referenced by processStoreControl(). |
|
prefix of MOD_SETTING array keys that should be stored Definition at line 136 of file class.t3lib_modsettings.php. Referenced by addToStoreListFromPrefix(), and init(). |
|
The stored settings array Definition at line 146 of file class.t3lib_modsettings.php. Referenced by cleanupStorageArray(), and initStorage(). |
|
Names of keys of the MOD_SETTING array which should be stored Definition at line 141 of file class.t3lib_modsettings.php. Referenced by addToStoreList(), init(), and setStoreList(). |
|
If type is set 'ses' then the module data will be stored into the session and will be lost with logout. Type 'perm' will store the data permanently. Definition at line 131 of file class.t3lib_modsettings.php. Referenced by setSessionType(). |