Expose the libkolabxml object's created date/time (where available)
This commit is contained in:
parent
8cff86aef2
commit
0fc3c6f288
3 changed files with 6 additions and 3 deletions
|
@ -97,8 +97,9 @@ class kolab_format_journal extends kolab_format
|
|||
|
||||
// read object properties
|
||||
$object = array(
|
||||
'uid' => $this->obj->uid(),
|
||||
'changed' => $this->obj->lastModified(),
|
||||
'uid' => $this->obj->uid(),
|
||||
'created' => self::php_datetime($this->obj->created()),
|
||||
'changed' => self::php_datetime($this->obj->lastModified()),
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -97,7 +97,8 @@ class kolab_format_note extends kolab_format
|
|||
// read object properties
|
||||
$object = array(
|
||||
'uid' => $this->obj->uid(),
|
||||
'changed' => $this->obj->lastModified(),
|
||||
'created' => self::php_datetime($this->obj->created()),
|
||||
'changed' => self::php_datetime($this->obj->lastModified()),
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -97,6 +97,7 @@ abstract class kolab_format_xcal extends kolab_format
|
|||
|
||||
$object = array(
|
||||
'uid' => $this->obj->uid(),
|
||||
'created' => self::php_datetime($this->obj->created()),
|
||||
'changed' => self::php_datetime($this->obj->lastModified()),
|
||||
'title' => $this->obj->summary(),
|
||||
'location' => $this->obj->location(),
|
||||
|
|
Loading…
Add table
Reference in a new issue