/** * @see CultureFeed_Cdb_IElement::parseFromCdbXml(SimpleXMLElement * $xmlElement) * @return CultureFeed_Cdb_Data_Calendar_Exceptions */ public static function parseFromCdbXml(SimpleXMLElement $xmlElement) { $exceptions = new CultureFeed_Cdb_Data_Calendar_Exceptions(); foreach ($xmlElement->timestamp as $timestampElement) { $exceptions->add(CultureFeed_Cdb_Data_Calendar_Timestamp::parseFromCdbXml($timestampElement)); } return $exceptions; }