
Fonctions membres publiques | |
| initArray () | |
| getTimeLabel ($code) | |
| getUserLabel ($code, $workspace=0) | |
| getTypeLabel ($code) | |
| getActionLabel ($code) | |
| getDetails ($code, $text, $data, $sys_log_uid=0) | |
| reset () | |
| getErrorFormatting ($sign, $error=0) | |
| formatDetailsForList ($row) | |
| stripPath ($inArr) | |
Attributs publics | |
| $lastTimeLabel = '' | |
| $lastUserLabel = '' | |
| $lastTypeLabel = '' | |
| $lastActionLabel = '' | |
| $detailsOn = 1 | |
| $stripPath = 1 | |
| $errorSign | |
| $wsArray | |
| $be_user_Array = array() | |
| t3lib_BEDisplayLog::initArray | ( | ) |
Initialize the log table array with header labels.
Réimplémentée dans logFunctions_ext.
| t3lib_BEDisplayLog::getTimeLabel | ( | $ | code | ) |
Get time label for log listing
| integer | Timestamp to display |
| t3lib_BEDisplayLog::getUserLabel | ( | $ | code, | |
| $ | workspace = 0 | |||
| ) |
Get user name label for log listing
| integer | be_user uid | |
| integer | Workspace ID |
| t3lib_BEDisplayLog::getTypeLabel | ( | $ | code | ) |
Get type label for log listing
| string | Key for the type label in locallang |
| t3lib_BEDisplayLog::getActionLabel | ( | $ | code | ) |
Get action label for log listing
| string | Key for the action label in locallang |
| t3lib_BEDisplayLog::getDetails | ( | $ | code, | |
| $ | text, | |||
| $ | data, | |||
| $ | sys_log_uid = 0 | |||
| ) |
Get details for the log entry
| string | Suffix to "msg_" to get label from locallang. | |
| string | Details text | |
| array | Data array | |
| integer | sys_log uid number |
| t3lib_BEDisplayLog::reset | ( | ) |
Reset all internal "last..." variables to blank string.
| t3lib_BEDisplayLog::getErrorFormatting | ( | $ | sign, | |
| $ | error = 0 | |||
| ) |
Formats input string in red-colored font tags
| string | Input value | |
| integer | Error value |
| t3lib_BEDisplayLog::formatDetailsForList | ( | $ | row | ) |
Formatting details text for the sys_log row inputted
| array | sys_log row |
| t3lib_BEDisplayLog::stripPath | ( | $ | inArr | ) |
For all entries in the $inArray (expected to be filepaths) the basename is extracted and set as value (if $this->stripPath is set) This is done for log-entries from the FILE modules
| array | Array of file paths |
| t3lib_BEDisplayLog::$lastTimeLabel = '' |
| t3lib_BEDisplayLog::$lastUserLabel = '' |
| t3lib_BEDisplayLog::$lastTypeLabel = '' |
| t3lib_BEDisplayLog::$lastActionLabel = '' |
| t3lib_BEDisplayLog::$detailsOn = 1 |
| t3lib_BEDisplayLog::$stripPath = 1 |
| t3lib_BEDisplayLog::$errorSign |
Valeur initiale :
Array(
1 => '!',
2 => 'Sys!',
3 => 'Secur!'
)
| t3lib_BEDisplayLog::$wsArray |
Valeur initiale :
array(
0 => 'LIVE',
-1 => 'Draft',
)
| t3lib_BEDisplayLog::$be_user_Array = array() |
1.5.3