Solutions Open Source

Référence de la classe t3lib_BEDisplayLog

Graphe d'héritage de t3lib_BEDisplayLog:

Inheritance graph
[légende]

Liste de tous les membres

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()


Documentation des fonctions membres

t3lib_BEDisplayLog::initArray (  ) 

Initialize the log table array with header labels.

Renvoie:
array

Réimplémentée dans logFunctions_ext.

t3lib_BEDisplayLog::getTimeLabel ( code  ) 

Get time label for log listing

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

t3lib_BEDisplayLog::getUserLabel ( code,
workspace = 0 
)

Get user name label for log listing

Paramètres:
integer be_user uid
integer Workspace ID
Renvoie:
string If username is different from last username then the username, otherwise "."

t3lib_BEDisplayLog::getTypeLabel ( code  ) 

Get type label for log listing

Paramètres:
string Key for the type label in locallang
Renvoie:
string If labe is different from last type label then the label is returned, otherwise "."

t3lib_BEDisplayLog::getActionLabel ( code  ) 

Get action label for log listing

Paramètres:
string Key for the action label in locallang
Renvoie:
string If labe 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

Paramètres:
string Suffix to "msg_" to get label from locallang.
string Details text
array Data array
integer sys_log uid number
Renvoie:
string Text string
Voir également:
formatDetailsForList()

t3lib_BEDisplayLog::reset (  ) 

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

Renvoie:
void

t3lib_BEDisplayLog::getErrorFormatting ( sign,
error = 0 
)

Formats input string in red-colored font tags

Paramètres:
string Input value
integer Error value
Renvoie:
string Input wrapped in red font-tag and bold

t3lib_BEDisplayLog::formatDetailsForList ( row  ) 

Formatting details text for the sys_log row inputted

Paramètres:
array sys_log row
Renvoie:
string Details string

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

Paramètres:
array Array of file paths
Renvoie:
array
Voir également:
formatDetailsForList()


Documentation des données membres

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()


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:59 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3