Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117755294
test.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
567 B
Referenced Files
None
Subscribers
None
test.php
View Options
//run using "php -d enable_dl=On -d extension=./kolabformat.so test.php"
<?php
include
(
"kolabformat.php"
);
$e
=
new
Event
();
$d
=
new
c_DateTime
(
2009
,
10
,
12
);
print
$e
->
exceptionDates
()->
size
();
$e
->
addExceptionDate
(
$d
);
print
$e
->
exceptionDates
()->
size
();
$r
=
new
RecurrenceRule
();
$r
->
setFrequency
(
RecurrenceRule
::
Minutely
);
$bysec
=
new
vectori
();
$bysec
->
push
(
1
);
$bysec
->
push
(
3
);
$r
->
setBySecond
(
$bysec
);
$e
->
setRecurrenceRule
(
$r
);
$string
=
writeEvent
(
$e
);
print
$string
;
$e1
=
readEvent
(
$string
,
false
);
$string
=
writeEvent
(
$e1
);
print
$string
;
?>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 7:56 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18802374
Default Alt Text
test.php (567 B)
Attached To
Mode
rLKX libkolabxml
Attached
Detach File
Event Timeline