31 DTSTAMP:20140122T233226Z
32 DTSTART:20140101T070000Z
41 while ($object = $objects->getNext()) {
42 $return .= $object->serialize();
44 $this->assertEquals([], VObject\
Reader::read($return)->validate());
71 DTSTAMP:20140122T233226Z
80 while ($object = $objects->getNext()) {
81 $return .= $object->serialize();
83 $this->assertNull($object = $objects->getNext());
102 DTSTAMP:20140122T233226Z
103 DTSTART:20140101T050000Z
110 DTSTAMP:20140122T233226Z
111 DTSTART:20140101T060000Z
128 while ($object = $objects->getNext()) {
140 $return .= $object->serialize();
141 $expected = str_replace(
"\n",
"\r\n", $expected);
142 $this->assertEquals($expected, $object->serialize());
145 $this->assertEquals([], VObject\
Reader::read($return)->validate());
156 DTSTART:20140101T040000Z
157 DTSTAMP:20140122T233226Z
167 while ($object = $objects->getNext()) {
168 $return .= $object->serialize();
175 function($item) {
return $item[
'message']; },
178 $this->fail(
'Validation errors: ' . implode(
"\n",
$messages));
191 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
192 DTSTART:19810329T020000
198 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
199 DTSTART:19961027T030000
208 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
209 DTSTART:19810329T010000
215 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
216 DTSTART:19961027T020000
226 DTSTAMP:20140122T232710Z
227 DTSTART:20140101T010000Z
234 DTSTAMP:20140122T232710Z
235 DTSTART:20140101T020000Z
242 DTSTAMP:20140122T232710Z
243 DTSTART:20140101T030000Z
262 while ($object = $objects->getNext()) {
274 $expected = str_replace(
"\n",
"\r\n", $expected);
276 $this->assertEquals($expected, $object->serialize());
277 $return .= $object->serialize();
282 $this->assertEquals([], VObject\
Reader::read($return)->validate());
293 CREATED:20120605T072109Z
294 UID:D6716295-C10F-4B20-82F9-E1A3026C7DCF
295 DTEND;VALUE=DATE:20120717
297 SUMMARY:Start Vorbereitung
298 DTSTART;VALUE=DATE:20120716
299 DTSTAMP:20120605T072115Z
302 X-WR-ALARMUID:A99EDA6A-35EB-4446-B8BC-CDA3C60C627D
303 UID:A99EDA6A-35EB-4446-B8BC-CDA3C60C627D
305 X-APPLE-DEFAULT-ALARM:TRUE
306 ATTACH;VALUE=URI:Basso
318 while ($object = $objects->getNext()) {
319 $return .= $object->serialize();
testICalendarImportMultipleValidEvents()
testICalendarImportInvalidEvent()
Sabre
const VERSION
Full version number.
testICalendarImportWithOutVTIMEZONES()
$stream
PHP stream implementation.
testICalendarImportMultipleVTIMEZONESAndMultipleValidEvents()
testICalendarImportEventWithoutUID()
testICalendarImportEndOfData()
testICalendarImportWrongType()
Sabre
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
testICalendarImportValidEvent()