data = $data; } /** * Returns the title of the calendar. If no title is known, NULL * will be returned * @return string */ public function getTitle() { if( isset($this->data['x-wr-calname']) ) { return $this->data['x-wr-calname']; } else { return null; } } /** * Returns the description of the calendar. If no description is * known, NULL will be returned. * @return string */ public function getDescription() { if( isset($this->data['x-wr-caldesc']) ) { return $this->data['x-wr-caldesc']; } else { return null; } } /** * @see IteratorAggregate.getIterator() */ public function getIterator() { return new ArrayIterator($this->data); } } ?>