Documentation TYPO3 par Ameos

t3lib_BEDisplayLog Class Reference

Inheritance diagram for t3lib_BEDisplayLog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 initArray ()
 getTimeLabel ($code)
 getUserLabel ($code)
 getTypeLabel ($code)
 getActionLabel ($code)
 getDetails ($code, $text, $data, $sys_log_uid=0)
 reset ()
 getErrorFormatting ($sign)
 formatDetailsForList ($row)
 stripPath ($inArr)
 initArray ()
 getTimeLabel ($code)
 getUserLabel ($code)
 getTypeLabel ($code)
 getActionLabel ($code)
 getDetails ($code, $text, $data, $sys_log_uid=0)
 reset ()
 getErrorFormatting ($sign)
 formatDetailsForList ($row)
 stripPath ($inArr)

Public Attributes

 $lastTimeLabel = ''
 $lastUserLabel = ''
 $lastTypeLabel = ''
 $lastActionLabel = ''
 $detailsOn = 1
 $stripPath = 1
 $errorSign
 $be_user_Array = array()

Detailed Description

Definition at line 81 of file class.t3lib_bedisplaylog.php.


Member Function Documentation

t3lib_BEDisplayLog::formatDetailsForList row  ) 
 

Formatting details text for the sys_log row inputted

Parameters:
array sys_log row
Returns:
string Details string

Definition at line 236 of file class.t3lib_bedisplaylog.php.

References getDetails(), and stripPath().

t3lib_BEDisplayLog::formatDetailsForList row  ) 
 

Formatting details text for the sys_log row inputted

Parameters:
array sys_log row
Returns:
string Details string

Definition at line 236 of file class.t3lib_bedisplaylog.php.

References getDetails(), and stripPath().

t3lib_BEDisplayLog::getActionLabel code  ) 
 

Get action label for log listing

Parameters:
string Key for the action label in locallang
Returns:
string If labe is different from last action label then the label is returned, otherwise "."

Definition at line 162 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getActionLabel code  ) 
 

Get action label for log listing

Parameters:
string Key for the action label in locallang
Returns:
string If labe is different from last action label then the label is returned, otherwise "."

Definition at line 162 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getDetails code,
text,
data,
sys_log_uid = 0
 

Get details for the log entry

Parameters:
string Suffix to "msg_" to get label from locallang.
string Details text
array Data array
integer sys_log uid number
Returns:
string Text string
See also:
formatDetailsForList()

Definition at line 180 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getDetails code,
text,
data,
sys_log_uid = 0
 

Get details for the log entry

Parameters:
string Suffix to "msg_" to get label from locallang.
string Details text
array Data array
integer sys_log uid number
Returns:
string Text string
See also:
formatDetailsForList()

Definition at line 180 of file class.t3lib_bedisplaylog.php.

Referenced by formatDetailsForList().

t3lib_BEDisplayLog::getErrorFormatting sign  ) 
 

Formats input string in red-colored font tags

Parameters:
string Input value
Returns:
string Input wrapped in red font-tag and bold

Definition at line 226 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getErrorFormatting sign  ) 
 

Formats input string in red-colored font tags

Parameters:
string Input value
Returns:
string Input wrapped in red font-tag and bold

Definition at line 226 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getTimeLabel code  ) 
 

Get time label for log listing

Parameters:
integer Timestamp to display
Returns:
string If the timestamp was also shown last time, then "." is returned. Otherwise the new timestamp formatted with ->doc->formatTime()

Definition at line 119 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getTimeLabel code  ) 
 

Get time label for log listing

Parameters:
integer Timestamp to display
Returns:
string If the timestamp was also shown last time, then "." is returned. Otherwise the new timestamp formatted with ->doc->formatTime()

Definition at line 119 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getTypeLabel code  ) 
 

Get type label for log listing

Parameters:
string Key for the type label in locallang
Returns:
string If labe is different from last type label then the label is returned, otherwise "."

Definition at line 148 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getTypeLabel code  ) 
 

Get type label for log listing

Parameters:
string Key for the type label in locallang
Returns:
string If labe is different from last type label then the label is returned, otherwise "."

Definition at line 148 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getUserLabel code  ) 
 

Get user name label for log listing

Parameters:
integer be_user uid
Returns:
string If username is different from last username then the username, otherwise "."

Definition at line 134 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::getUserLabel code  ) 
 

Get user name label for log listing

Parameters:
integer be_user uid
Returns:
string If username is different from last username then the username, otherwise "."

Definition at line 134 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::initArray  ) 
 

Initialize the log table array with header labels.

Returns:
array

Reimplemented in logFunctions_ext.

Definition at line 102 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::initArray  ) 
 

Initialize the log table array with header labels.

Returns:
array

Reimplemented in logFunctions_ext.

Definition at line 102 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::reset  ) 
 

Reset all internal "last..." variables to blank string.

Returns:
void

Definition at line 212 of file class.t3lib_bedisplaylog.php.

t3lib_BEDisplayLog::reset  ) 
 

Reset all internal "last..." variables to blank string.

Returns:
void

Definition at line 212 of file class.t3lib_bedisplaylog.php.

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

Parameters:
array Array of file paths
Returns:
array
See also:
formatDetailsForList()

Definition at line 253 of file class.t3lib_bedisplaylog.php.

References 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

Parameters:
array Array of file paths
Returns:
array
See also:
formatDetailsForList()

Definition at line 253 of file class.t3lib_bedisplaylog.php.

Referenced by formatDetailsForList(), and stripPath().


Member Data Documentation

t3lib_BEDisplayLog::$errorSign
 

Initial value:

 Array(
                1 => '!',
                2 => 'Sys!',
                3 => 'Secur!'
        )

Definition at line 89 of file class.t3lib_bedisplaylog.php.


The documentation for this class was generated from the following files:


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6