‪TYPO3CMS  ‪main
TYPO3\CMS\Belog\Domain\Model\LogEntry Class Reference
Inheritance diagram for TYPO3\CMS\Belog\Domain\Model\LogEntry:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Core\Log\LogDataTrait TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 getBackendUserUid ()
 
 setAction (int $action)
 
 getAction ()
 
 setRecordUid (int $recordUid)
 
 getRecordUid ()
 
 setTableName (string $tableName)
 
 getTableName ()
 
 setRecordPid (int $recordPid)
 
 getRecordPid ()
 
 setError (int $error)
 
 getError ()
 
 getErrorIconClass ()
 
 setDetails (string $details)
 
 getDetails ()
 
 setTstamp (int $tstamp)
 
 getTstamp ()
 
 setType (int $type)
 
 getType ()
 
 setChannel (string $channel)
 
 getChannel ()
 
 setLevel (string $level)
 
 getLevel ()
 
 setDetailsNumber (int $detailsNumber)
 
 getDetailsNumber ()
 
 setIp (string $ip)
 
 getIp ()
 
 setLogData (string $logData)
 
 getLogData ()
 
 setEventPid (int $eventPid)
 
 getEventPid ()
 
 setWorkspaceUid (int $workspaceUid)
 
 getWorkspaceUid ()
 
 setNewId ($newId)
 
string int getNewId ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 _getProperty (string $propertyName)
 
 _memorizeCleanState (string|null $propertyName=null)
 
 _memorizePropertyCleanState (string $propertyName)
 
 _getCleanProperty (string $propertyName)
 
 _isDirty (string|null $propertyName=null)
 
 _isClone ()
 
 _setClone (bool $clone)
 
 __clone ()
 
non empty string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
 getUid ()
 
 setPid (int $pid)
 
 getPid ()
 
 _isNew ()
 
 _hasProperty (string $propertyName)
 
 _setProperty (string $propertyName, mixed $value)
 

Protected Attributes

int< 0, $pid=0;protected int $backendUserUid=0;protected int $action=0;protected int $recordUid=0;protected string $tableName='';protected int $recordPid=0;protected int $error=0;protected string $details='';protected int $tstamp=0;protected int $type=0;protected string $channel='';protected string $level='';protected int $detailsNumber=0;protected string $ip='';protected string $logData='';protected int $eventPid=0;protected int $workspaceUid=0;protected string $newId=0;public function setBackendUserUid(int $beUserUid):void { $this-> backendUserUid = $beUserUid
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 int< 1, $uid;protected int|null $_localizedUid=null;protected int|null $_languageUid=null;protected int|null $_versionedUid=null;protected int< 0, $pid;private bool $_isClone=false;private array $_cleanProperties=[];public int< 1, function getUid():int|null { if($this->uid !==null) { return(int) $this->uid;} return null;} public function setPid(int $pid):void { $this->pid=$pid;} public int< 0, function getPid():int|null { if($this->pid===null) { return null;} return(int) $this->pid;} public function _setProperty(string $propertyName, mixed $propertyValue):bool { if($this->_hasProperty($propertyName)) { $this-> {$propertyName} = $propertyValue
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
const PROPERTY_UID = 'uid'
 
const PROPERTY_PID = 'pid'
 
const PROPERTY_LOCALIZED_UID = '_localizedUid'
 
const PROPERTY_LANGUAGE_UID = '_languageUid'
 
const PROPERTY_VERSIONED_UID = '_versionedUid'
 
return true
 
return false
 
array< non-empty-string, function _getProperties():array { $properties=get_object_vars( $this);foreach( $properties as $propertyName=> $propertyValue) { if(str_starts_with( $propertyName, '_')) { unset( $properties[ $propertyName]);} } return $properties;} public function _hasProperty(string $propertyName):bool { return property_exists( $this, $propertyName);} public function _isNew():bool { return $this-> uid === null
 
array< non-empty-string, function _getCleanProperties():array { return $this-> _cleanProperties
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty (mixed $previousValue, mixed $currentValue)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
 unserializeLogData (mixed $logData)
 
 formatLogDetails (string $detailString, mixed $substitutes)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
static formatLogDetailsStatic (string $detailString, array $substitutes)
 

Detailed Description

A sys log entry This model is 'complete': All current database properties are in there.

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Definition at line 29 of file LogEntry.php.

Member Function Documentation

◆ getAction()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getAction ( )

Definition at line 144 of file LogEntry.php.

◆ getBackendUserUid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getBackendUserUid ( )

Definition at line 134 of file LogEntry.php.

◆ getChannel()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getChannel ( )

Definition at line 236 of file LogEntry.php.

◆ getDetails()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getDetails ( )

◆ getDetailsNumber()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getDetailsNumber ( )

◆ getError()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getError ( )

◆ getErrorIconClass()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getErrorIconClass ( )

Definition at line 189 of file LogEntry.php.

References TYPO3\CMS\Belog\Domain\Model\LogEntry\getError().

◆ getEventPid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getEventPid ( )

Definition at line 290 of file LogEntry.php.

◆ getIp()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getIp ( )

Definition at line 266 of file LogEntry.php.

◆ getLevel()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getLevel ( )

Definition at line 246 of file LogEntry.php.

◆ getLogData()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getLogData ( )

◆ getNewId()

string int TYPO3\CMS\Belog\Domain\Model\LogEntry::getNewId ( )

Get new id

Returns
‪string|int

Definition at line 320 of file LogEntry.php.

◆ getRecordPid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getRecordPid ( )

Definition at line 174 of file LogEntry.php.

◆ getRecordUid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getRecordUid ( )

Definition at line 154 of file LogEntry.php.

◆ getTableName()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getTableName ( )

Definition at line 164 of file LogEntry.php.

◆ getTstamp()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getTstamp ( )

Definition at line 216 of file LogEntry.php.

◆ getType()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getType ( )

Definition at line 226 of file LogEntry.php.

◆ getWorkspaceUid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::getWorkspaceUid ( )

Definition at line 300 of file LogEntry.php.

◆ setAction()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setAction ( int  $action)

Definition at line 139 of file LogEntry.php.

◆ setChannel()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setChannel ( string  $channel)

Definition at line 231 of file LogEntry.php.

◆ setDetails()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setDetails ( string  $details)

Definition at line 198 of file LogEntry.php.

References TYPO3\CMS\Webhooks\Message\$details.

◆ setDetailsNumber()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setDetailsNumber ( int  $detailsNumber)

Definition at line 251 of file LogEntry.php.

◆ setError()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setError ( int  $error)

Definition at line 179 of file LogEntry.php.

◆ setEventPid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setEventPid ( int  $eventPid)

Definition at line 285 of file LogEntry.php.

◆ setIp()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setIp ( string  $ip)

Definition at line 261 of file LogEntry.php.

◆ setLevel()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setLevel ( string  $level)

Definition at line 241 of file LogEntry.php.

◆ setLogData()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setLogData ( string  $logData)

Definition at line 271 of file LogEntry.php.

◆ setNewId()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setNewId (   $newId)

Set new id

Parameters
string$newId

Definition at line 310 of file LogEntry.php.

◆ setRecordPid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setRecordPid ( int  $recordPid)

Definition at line 169 of file LogEntry.php.

◆ setRecordUid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setRecordUid ( int  $recordUid)

Definition at line 149 of file LogEntry.php.

◆ setTableName()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setTableName ( string  $tableName)

Definition at line 159 of file LogEntry.php.

◆ setTstamp()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setTstamp ( int  $tstamp)

Definition at line 211 of file LogEntry.php.

◆ setType()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setType ( int  $type)

Definition at line 221 of file LogEntry.php.

◆ setWorkspaceUid()

TYPO3\CMS\Belog\Domain\Model\LogEntry::setWorkspaceUid ( int  $workspaceUid)

Definition at line 295 of file LogEntry.php.

Member Data Documentation

◆ backendUserUid

int<0, $pid = 0; protected int $backendUserUid = 0; protected int $action = 0; protected int $recordUid = 0; protected string $tableName = ''; protected int $recordPid = 0; protected int $error = 0; protected string $details = ''; protected int $tstamp = 0; protected int $type = 0; protected string $channel = ''; protected string $level = ''; protected int $detailsNumber = 0; protected string $ip = ''; protected string $logData = ''; protected int $eventPid = 0; protected int $workspaceUid = 0; protected string $newId = 0; public function setBackendUserUid(int $beUserUid): void { $this-> TYPO3\CMS\Belog\Domain\Model\LogEntry::backendUserUid = $beUserUid
protected

Storage page ID of the log entry

max>|null

Definition at line 131 of file LogEntry.php.