/** * These are examples from other icalendar libraries I've found in various other languages */ public function testExamplesFromOtherLibraries() { $cal = new qCal(); $cal->addProperty('prodid', '-//My calendar product//mxm.dk//'); $cal->addProperty('version', '2.0'); // $prodid = $cal->getProperty('prodid'); // $this->assertEqual($prodid[0]->getValue(), '-//My calendar product//mxm.dk//'); // $version = $cal->getProperty('version'); // $this->assertEqual($version[0]->getValue(), '2.0'); }