Lines Matching refs:component
188 $server->xml->elementMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet';
197 '{' . self::NS_CALDAV . '}supported-calendar-component-set',
824 $sCCS = '{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set';
838 foreach ($vobj->getComponents() as $component) {
839 switch ($component->name) {
846 $foundType = $component->name;
850 if (!isset($component->UID)) {
851 throw new DAV\Exception\BadRequest('Every ' . $component->name . ' component must have an UID');
853 $foundUID = (string)$component->UID;
855 if ($foundType !== $component->name) {
856 throw new DAV\Exception\BadRequest('A calendar object must only contain 1 component. We found a ' . $component->name . ' as well as a ' . $foundType);
858 if ($foundUID !== (string)$component->UID) {
859 throw new DAV\Exception\BadRequest('Every ' . $component->name . ' in this object must have identical UIDs');
864 throw new DAV\Exception\BadRequest('You are not allowed to create components of type: ' . $component->name . ' here');