Lines Matching refs:component
229 $component = null;
232 foreach($vObject->getComponents() as $component) {
233 if ($component->name!=='VTIMEZONE') {
234 $componentType = $component->name;
242 $firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp();
244 if (!isset($component->RRULE)) {
245 if (isset($component->DTEND)) {
246 $lastOccurence = $component->DTEND->getDateTime()->getTimeStamp();
247 } elseif (isset($component->DURATION)) {
248 $endDate = clone $component->DTSTART->getDateTime();
249 $endDate->add(\Sabre\VObject\DateTimeParser::parse($component->DURATION->value));
251 } elseif (!$component->DTSTART->hasTime()) {
252 $endDate = clone $component->DTSTART->getDateTime();
259 $it = new \Sabre\VObject\Recur\EventIterator($vObject, (string)$component->UID);