doxygen
This commit is contained in:
parent
1f8361ea9e
commit
77a300c9ae
@ -53,7 +53,14 @@ class Events // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $error='';
|
public $error='';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int timestamp
|
||||||
|
*/
|
||||||
public $tms;
|
public $tms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Type
|
||||||
|
*/
|
||||||
public $type;
|
public $type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,8 +70,14 @@ class Events // extends CommonObject
|
|||||||
|
|
||||||
public $dateevent;
|
public $dateevent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string IP
|
||||||
|
*/
|
||||||
public $ip;
|
public $ip;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string User agent
|
||||||
|
*/
|
||||||
public $user_agent;
|
public $user_agent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -179,7 +192,7 @@ class Events // extends CommonObject
|
|||||||
public function update($user = null, $notrigger = 0)
|
public function update($user = null, $notrigger = 0)
|
||||||
{
|
{
|
||||||
// Clean parameters
|
// Clean parameters
|
||||||
$this->id=trim($this->id);
|
$this->id = (int) $this->id;
|
||||||
$this->type=trim($this->type);
|
$this->type=trim($this->type);
|
||||||
$this->description=trim($this->description);
|
$this->description=trim($this->description);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user