Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120837137
kolab_format_event.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
818 B
Referenced Files
None
Subscribers
None
kolab_format_event.php
View Options
<?php
class
kolab_format_event
extends
kolab_format
{
public
$CTYPE
=
'application/calendar+xml'
;
private
$data
;
private
$obj
;
function
__construct
()
{
$obj
=
new
Event
;
}
public
function
load
(
$xml
)
{
$this
->
obj
=
kolabformat
::
readEvent
(
$xml
,
false
);
}
public
function
write
()
{
return
kolabformat
::
writeEvent
(
$this
->
obj
);
}
public
function
set
(&
$object
)
{
// TODO: do the hard work of setting object values
}
public
function
is_valid
()
{
return
is_object
(
$this
->
obj
)
&&
$this
->
obj
->
isValid
();
}
public
function
fromkolab2
(
$object
)
{
$this
->
data
=
$object
;
}
public
function
to_array
()
{
// TODO: read object properties
return
$this
->
data
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 1:40 PM (1 d, 12 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bf/8f/098702b507566a1db23b05123552
Default Alt Text
kolab_format_event.php (818 B)
Attached To
Mode
rRPK roundcubemail-plugins-kolab
Attached
Detach File
Event Timeline