public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->adultContent = (string) $xml->adultContent; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->category = (string) $xml->category; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->feedDescription = (string) $xml->feedDescription; $this->feedLandingPage = (string) $xml->feedLandingPage; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->feedDescription = (string) $xml->feedDescription; $this->language = (string) $xml->language; $this->feedLandingPage = (string) $xml->feedLandingPage; $this->ownerName = (string) $xml->ownerName; $this->ownerEmail = (string) $xml->ownerEmail; $this->feedImageUrl = (string) $xml->feedImageUrl; $this->category = (string) $xml->category; $this->adultContent = (string) $xml->adultContent; $this->feedAuthor = (string) $xml->feedAuthor; if (count($xml->enforceOrder)) { $this->enforceOrder = (int) $xml->enforceOrder; } }