Home
last modified time | relevance | path

Searched refs:vcal (Results 1 – 25 of 94) sorted by last modified time

1234

/plugin/davcal/vendor/sabre/vobject/tests/VObject/Component/
H A DVAvailabilityTest.php18 $vcal = <<<VCAL
24 $document = Reader::read($vcal);
H A DVCalendarTest.php15 $vcal = VObject\Reader::read($input);
19 $vcal->expand(
311 $vcal = VObject\Reader::read($input);
312 $vcal->expand(
341 $vcal = VObject\Reader::read($input);
359 $vcal = VObject\Reader::read($input);
378 $vcal = VObject\Reader::read($input);
513 $result = $vcal->getBaseComponent();
542 $result = $vcal->getBaseComponent();
670 $vcal = VObject\Reader::read($ics);
[all …]
H A DVCardTest.php264 $vcal = VObject\Reader::read($vcf);
265 $result = $vcal->validate($options);
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DDocumentTest.php23 $vcal = new Component\VCalendar(array(), false);
25 $event = $vcal->createComponent('VEVENT');
28 $vcal->add($event);
30 $prop = $vcal->createProperty('X-PROP','1234256',array('X-PARAM' => '3'));
40 $out = $vcal->serialize();
47 $vcal = new Component\VCalendar(array(), false);
49 $event = $vcal->create('VEVENT');
52 $event = $vcal->create('CALSCALE');
59 $vcal = new Component\VCalendar(array(), false);
60 …$this->assertEquals('Sabre\\VObject\\Property\\Text', $vcal->getClassNameForPropertyValue('TEXT'));
[all …]
H A DIssue26Test.php28 $vcal = Reader::read($input);
29 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
31 $it = new Recur\EventIterator($vcal, 'bae5d57a98');
H A DSlashRTest.php13 $vcal = new Component\VCalendar();
14 $prop = $vcal->add('test', "abc\r\ndef");
/plugin/davcal/vendor/sabre/vobject/tests/VObject/ICalendar/
H A DAttachParseTest.php14 $vcal = <<<ICS
22 $vcal = Reader::read($vcal);
23 $prop = $vcal->VEVENT->ATTACH;
/plugin/davcal/vendor/sabre/vobject/tests/VObject/ITip/
H A DBrokerTester.php48 $vcal = Reader::read($input);
50 foreach($vcal->getComponents() as $mainComponent) {
55 $message->message = $vcal;
56 $message->method = isset($vcal->METHOD)?$vcal->METHOD->getValue():null;
59 $message->sequence = isset($vcal->VEVENT[0])?(string)$vcal->VEVENT[0]->SEQUENCE:null;
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
H A DRecurTest.php11 $vcal = new VCalendar();
12 $recur = $vcal->add('RRULE', 'FREQ=Daily');
28 $vcal = new VCalendar();
29 $recur = $vcal->add('RRULE', 'FREQ=Daily');
36 $vcal = new VCalendar();
37 … $recur = $vcal->add('RRULE', array('FREQ'=>'DAILY', 'BYDAY'=>'mo,tu', 'BYMONTH' => array(0,1)));
H A DDateTimeTest.php11 protected $vcal; variable in Sabre\\VObject\\Property\\ICalendar\\DateTimeTest
15 $this->vcal = new VCalendar();
25 $elem = $this->vcal->createProperty('DTSTART');
42 $elem = $this->vcal->createProperty('DTSTART');
57 $elem = $this->vcal->createProperty('DTSTART');
283 $this->vcal->add($event);
284 $this->vcal->add($timezone);
311 $this->vcal->add($event);
312 $this->vcal->add($timezone);
346 $vcal = new VCalendar();
[all …]
H A DDurationTest.php12 $vcal = new VCalendar();
13 $event = $vcal->add('VEVENT', array('DURATION' => array('PT1H')));
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/
H A DByMonthInDailyTest.php38 $vcal = Reader::read($ics);
39 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
41 $vcal->expand(new DateTime('2013-09-28'), new DateTime('2014-09-11'));
43 foreach ($vcal->VEVENT as $event) {
H A DBySetPosHangTest.php33 $vcal = Reader::read($ics);
34 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
36 $vcal->expand(new DateTime('2015-01-01'), new DateTime('2016-01-01'));
38 foreach ($vcal->VEVENT as $event) {
H A DExpandFloatingTimesTest.php25 $vcal = Reader::read($input);
26 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
28 $vcal->expand(new DateTime('2015-01-01'), new DateTime('2015-01-31'));
30 $result = $vcal->serialize();
79 $vcal = Reader::read($input);
80 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
82 …$vcal->expand(new DateTime('2015-01-01'), new DateTime('2015-01-31'), new \DateTimeZone('Europe/Be…
84 $result = $vcal->serialize();
H A DIncorrectExpandTest.php34 $vcal = Reader::read($input);
35 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
37 $vcal->expand(new DateTime('2011-01-01'), new DateTime('2014-01-01'));
39 $result = $vcal->serialize();
H A DInfiniteLoopProblemTest.php15 $this->vcal = new VCalendar();
25 $ev = $this->vcal->createComponent('VEVENT');
39 $ev = $this->vcal->createComponent('VEVENT');
53 $this->vcal->add($ev);
55 $it = new Recur\EventIterator($this->vcal,'uuid');
86 $ev = $this->vcal->createComponent('VEVENT');
90 $this->vcal->add($ev);
92 $it = new Recur\EventIterator($this->vcal,'uuid');
H A DIssue48Test.php30 $vcal = Reader::read($input);
31 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
33 $it = new Recur\EventIterator($vcal, 'foo');
H A DIssue50Test.php104 $vcal = Reader::read($input);
105 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
107 $it = new Recur\EventIterator($vcal, '1aef0b27-3d92-4581-829a-11999dd36724');
H A DMainTest.php14 $vcal = new VCalendar();
23 $vcal->add($ev);
45 $vcal->add($ev);
85 $vcal->add($ev);
138 $vcal->add($ev);
185 $vcal->add($ev);
227 $vcal->add($ev);
280 $vcal->add($ev);
333 $vcal->add($ev);
386 $vcal->add($ev);
[all …]
H A DMissingOverriddenTest.php33 $vcal = Reader::read($input);
34 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
36 $vcal->expand(new DateTime('2011-01-01'), new DateTime('2015-01-01'));
38 $result = $vcal->serialize();
H A DNoInstancesTest.php33 $vcal = Reader::read($input);
34 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
36 $it = new EventIterator($vcal, 'foo');
H A DOverrideFirstEventTest.php29 $vcal = Reader::read($input);
30 $vcal->expand(new DateTime('2014-08-01'), new DateTime('2014-09-01'));
68 $newIcs = $vcal->serialize();
92 $vcal = Reader::read($input);
93 $vcal->expand(new DateTime('2014-08-01'), new DateTime('2014-08-19'));
113 $newIcs = $vcal->serialize();
/plugin/davcal/
H A Dhelper.php1041 $vcal = \Sabre\VObject\Reader::read($row['calendardata']);
1042 $recurrence = $vcal->VEVENT->RRULE;
1046 $rEvents = new \Sabre\VObject\Recur\EventIterator(array($vcal->VEVENT));
1070 … $this->convertIcalDataToEntry($vcal->VEVENT, $id, $timezone, $row['uid'], $color));
1305 $vcal = \Sabre\VObject\Reader::read($event['calendardata']);
1306 $vevent = $vcal->VEVENT;
1363 $eventStr = $vcal->serialize();
1648 $vcal = \Sabre\VObject\Reader::read($event['calendardata']);
1649 $evt = $vcal->VEVENT;
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DCalendarQueryValidatorTest.php12 $vcal = <<<ICS
18 $vcal = VObject\Reader::read($vcal);
19 $this->assertFalse($validator->validate($vcal, ['name' => 'VFOO']));
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Component/
H A DVAvailabilityTest.php18 $vcal = <<<VCAL
24 $document = Reader::read($vcal);

1234