Page MenuHomePhorge

test.php
No OneTemporary

Authored By
Unknown
Size
567 B
Referenced Files
None
Subscribers
None

test.php

//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

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)

Event Timeline