TYPO3 CMS  TYPO3_6-2
LogEntry.php
Go to the documentation of this file.
1 <?php
3 
25 
31  protected $pid = 0;
32 
42  protected $backendUserUid = 0;
43 
49  protected $action = 0;
50 
56  protected $recordUid = 0;
57 
63  protected $tableName = 0;
64 
70  protected $recordPid = 0;
71 
77  protected $error = 0;
78 
84  protected $details = '';
85 
91  protected $tstamp = 0;
92 
98  protected $type = 0;
99 
105  protected $detailsNumber = 0;
106 
112  protected $ip = '';
113 
119  protected $logData = '';
120 
126  protected $eventPid = 0;
127 
133  protected $workspaceUid = 0;
134 
140  protected $newId = 0;
141 
148  public function setPid($pid) {
149  $this->pid = (int)$pid;
150  }
151 
157  public function getPid() {
158  return $this->pid;
159  }
160 
167  public function setBackendUserUid($beUserUid) {
168  $this->backendUserUid = $beUserUid;
169  }
170 
176  public function getBackendUserUid() {
177  return $this->backendUserUid;
178  }
179 
186  public function setAction($action) {
187  $this->action = $action;
188  }
189 
195  public function getAction() {
196  return (int)$this->action;
197  }
198 
205  public function setRecordUid($recordUid) {
206  $this->recordUid = $recordUid;
207  }
208 
214  public function getRecordUid() {
215  return (int)$this->recordUid;
216  }
217 
224  public function setTableName($tableName) {
225  $this->tableName = $tableName;
226  }
227 
233  public function getTableName() {
234  return $this->tableName;
235  }
236 
243  public function setRecordPid($recordPid) {
244  $this->recordPid = $recordPid;
245  }
246 
252  public function getRecordPid() {
253  return (int)$this->recordPid;
254  }
255 
262  public function setError($error) {
263  $this->error = $error;
264  }
265 
271  public function getError() {
272  return (int)$this->error;
273  }
274 
281  public function setDetails($details) {
282  $this->details = $details;
283  }
284 
290  public function getDetails() {
291  return $this->details;
292  }
293 
300  public function setTstamp($tstamp) {
301  $this->tstamp = $tstamp;
302  }
303 
309  public function getTstamp() {
310  return (int)$this->tstamp;
311  }
312 
319  public function setType($type) {
320  $this->type = $type;
321  }
322 
328  public function getType() {
329  return (int)$this->type;
330  }
331 
338  public function setDetailsNumber($detailsNumber) {
339  $this->detailsNumber = $detailsNumber;
340  }
341 
347  public function getDetailsNumber() {
348  return (int)$this->detailsNumber;
349  }
350 
357  public function setIp($ip) {
358  $this->ip = $ip;
359  }
360 
366  public function getIp() {
367  return $this->ip;
368  }
369 
376  public function setLogData($logData) {
377  $this->logData = $logData;
378  }
379 
385  public function getLogData() {
386  if ($this->logData === '') {
387  return array();
388  }
389  $logData = @unserialize($this->logData);
390  if (!is_array($logData)) {
391  $logData = array();
392  }
393  return $logData;
394  }
395 
402  public function setEventPid($eventPid) {
403  $this->eventPid = $eventPid;
404  }
405 
411  public function getEventPid() {
412  return (int)$this->eventPid;
413  }
414 
421  public function setWorkspaceUid($workspaceUid) {
422  $this->workspaceUid = $workspaceUid;
423  }
424 
430  public function getWorkspaceUid() {
431  return (int)$this->workspaceUid;
432  }
433 
440  public function setNewId($newId) {
441  $this->newId = $newId;
442  }
443 
449  public function getNewId() {
450  return $this->newId;
451  }
452 
453 }
getLogData()
Definition: LogEntry.php:385
setTableName($tableName)
Definition: LogEntry.php:224
setBackendUserUid($beUserUid)
Definition: LogEntry.php:167
$details
Definition: LogEntry.php:84
setRecordPid($recordPid)
Definition: LogEntry.php:243
$workspaceUid
Definition: LogEntry.php:133
getError()
Definition: LogEntry.php:271
setEventPid($eventPid)
Definition: LogEntry.php:402
$action
Definition: LogEntry.php:49
getEventPid()
Definition: LogEntry.php:411
getAction()
Definition: LogEntry.php:195
getTableName()
Definition: LogEntry.php:233
$recordUid
Definition: LogEntry.php:56
$tableName
Definition: LogEntry.php:63
setPid($pid)
Definition: LogEntry.php:148
getIp()
Definition: LogEntry.php:366
setAction($action)
Definition: LogEntry.php:186
getRecordUid()
Definition: LogEntry.php:214
getTstamp()
Definition: LogEntry.php:309
getWorkspaceUid()
Definition: LogEntry.php:430
Definition: LogEntry.php:24
$eventPid
Definition: LogEntry.php:126
setLogData($logData)
Definition: LogEntry.php:376
getDetailsNumber()
Definition: LogEntry.php:347
setDetails($details)
Definition: LogEntry.php:281
$ip
Definition: LogEntry.php:112
setTstamp($tstamp)
Definition: LogEntry.php:300
$pid
Definition: LogEntry.php:31
$backendUserUid
Definition: LogEntry.php:42
$tstamp
Definition: LogEntry.php:91
setRecordUid($recordUid)
Definition: LogEntry.php:205
setDetailsNumber($detailsNumber)
Definition: LogEntry.php:338
$newId
Definition: LogEntry.php:140
$logData
Definition: LogEntry.php:119
setNewId($newId)
Definition: LogEntry.php:440
$type
Definition: LogEntry.php:98
getNewId()
Definition: LogEntry.php:449
$detailsNumber
Definition: LogEntry.php:105
getDetails()
Definition: LogEntry.php:290
setError($error)
Definition: LogEntry.php:262
getPid()
Definition: LogEntry.php:157
getType()
Definition: LogEntry.php:328
getRecordPid()
Definition: LogEntry.php:252
$error
Definition: LogEntry.php:77
setType($type)
Definition: LogEntry.php:319
setWorkspaceUid($workspaceUid)
Definition: LogEntry.php:421
getBackendUserUid()
Definition: LogEntry.php:176
setIp($ip)
Definition: LogEntry.php:357
$recordPid
Definition: LogEntry.php:70