Documentation TYPO3 par Ameos |
Public Member Functions | |
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) | |
Public Attributes | |
$lastTimeLabel = '' | |
$lastUserLabel = '' | |
$lastTypeLabel = '' | |
$lastActionLabel = '' | |
$detailsOn = 1 | |
$stripPath = 1 | |
$errorSign | |
$wsArray | |
$be_user_Array = array() |
Definition at line 81 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::initArray | ( | ) |
Initialize the log table array with header labels.
Reimplemented in logFunctions_ext.
Definition at line 106 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::getTimeLabel | ( | $ | code | ) |
Get time label for log listing
integer | Timestamp to display |
Definition at line 123 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::getUserLabel | ( | $ | code, | |
$ | workspace = 0 | |||
) |
Get user name label for log listing
integer | be_user uid | |
integer | Workspace ID |
Definition at line 139 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::getTypeLabel | ( | $ | code | ) |
Get type label for log listing
string | Key for the type label in locallang |
Definition at line 154 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::getActionLabel | ( | $ | code | ) |
Get action label for log listing
string | Key for the action label in locallang |
Definition at line 168 of file class.t3lib_bedisplaylog.php.
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 |
Definition at line 186 of file class.t3lib_bedisplaylog.php.
Referenced by formatDetailsForList().
t3lib_BEDisplayLog::reset | ( | ) |
Reset all internal "last..." variables to blank string.
Definition at line 220 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::getErrorFormatting | ( | $ | sign, | |
$ | error = 0 | |||
) |
Formats input string in red-colored font tags
string | Input value | |
integer | Error value |
Definition at line 234 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::formatDetailsForList | ( | $ | row | ) |
Formatting details text for the sys_log row inputted
array | sys_log row |
Definition at line 244 of file class.t3lib_bedisplaylog.php.
References getDetails(), and stripPath().
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 |
Definition at line 261 of file class.t3lib_bedisplaylog.php.
Referenced by formatDetailsForList().
t3lib_BEDisplayLog::$errorSign |
Initial value:
Array(
1 => '!',
2 => 'Sys!',
3 => 'Secur!'
)
Definition at line 89 of file class.t3lib_bedisplaylog.php.
t3lib_BEDisplayLog::$wsArray |
Initial value:
array( 0 => 'LIVE', -1 => 'Draft', )
Definition at line 94 of file class.t3lib_bedisplaylog.php.