t3lib_BEDisplayLog Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 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)

Öffentliche Attribute

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

Dokumentation der Elementfunktionen

t3lib_BEDisplayLog::formatDetailsForList ( row  ) 

Formatting details text for the sys_log row inputted

Parameter:
array sys_log row
Rückgabe:
string Details string
t3lib_BEDisplayLog::getActionLabel ( code  ) 

Get action label for log listing

Parameter:
string Key for the action label in locallang
Rückgabe:
string If label is different from last action label then the label is returned, otherwise "."
t3lib_BEDisplayLog::getDetails ( code,
text,
data,
sys_log_uid = 0 
)

Get details for the log entry

Parameter:
string Suffix to "msg_" to get label from locallang.
string Details text
array Data array
integer sys_log uid number
Rückgabe:
string Text string
Siehe auch:
formatDetailsForList()
t3lib_BEDisplayLog::getErrorFormatting ( sign,
error = 0 
)

Formats input string in red-colored font tags

Parameter:
string Input value
integer Error value
Rückgabe:
string Input wrapped in red font-tag and bold
t3lib_BEDisplayLog::getTimeLabel ( code  ) 

Get time label for log listing

Parameter:
integer Timestamp to display
Rückgabe:
string If the timestamp was also shown last time, then "." is returned. Otherwise the new timestamp formatted with ->doc->formatTime()
t3lib_BEDisplayLog::getTypeLabel ( code  ) 

Get type label for log listing

Parameter:
string Key for the type label in locallang
Rückgabe:
string If labe is different from last type label then the label is returned, otherwise "."
t3lib_BEDisplayLog::getUserLabel ( code,
workspace = 0 
)

Get user name label for log listing

Parameter:
integer be_user uid
integer Workspace ID
Rückgabe:
string If username is different from last username then the username, otherwise "."
t3lib_BEDisplayLog::initArray (  ) 

Initialize the log table array with header labels.

Rückgabe:
array
t3lib_BEDisplayLog::reset (  ) 

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

Rückgabe:
void
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

Parameter:
array Array of file paths
Rückgabe:
array
Siehe auch:
formatDetailsForList()

Dokumentation der Datenelemente

t3lib_BEDisplayLog::$errorSign
Initialisierung:
 Array(
                1 => '!',
                2 => 'Sys!',
                3 => 'Security!'
        )
t3lib_BEDisplayLog::$wsArray
Initialisierung:
 array(
                0 => 'LIVE',
                -1 => 'Draft',
        )

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:22 2009 für Typo3 von  doxygen 1.6.1