public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->xsl = (string) $xml->xsl; $this->feedId = (string) $xml->feedId; }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->fieldConfigArray)) { $this->fieldConfigArray = array(); } else { $this->fieldConfigArray = Kaltura_Client_ParseUtils::unmarshalArray($xml->fieldConfigArray, "KalturaDistributionFieldConfig"); } if (empty($xml->itemXpathsToExtend)) { $this->itemXpathsToExtend = array(); } else { $this->itemXpathsToExtend = Kaltura_Client_ParseUtils::unmarshalArray($xml->itemXpathsToExtend, "KalturaExtendingItemMrssParameter"); } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->fieldConfigArray)) { $this->fieldConfigArray = array(); } else { $this->fieldConfigArray = Kaltura_Client_Client::unmarshalItem($xml->fieldConfigArray); } if (empty($xml->itemXpathsToExtend)) { $this->itemXpathsToExtend = array(); } else { $this->itemXpathsToExtend = Kaltura_Client_Client::unmarshalItem($xml->itemXpathsToExtend); } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->genericProviderId)) { $this->genericProviderId = (int) $xml->genericProviderId; } if (!empty($xml->submitAction)) { $this->submitAction = Kaltura_Client_Client::unmarshalItem($xml->submitAction); } if (!empty($xml->updateAction)) { $this->updateAction = Kaltura_Client_Client::unmarshalItem($xml->updateAction); } if (!empty($xml->deleteAction)) { $this->deleteAction = Kaltura_Client_Client::unmarshalItem($xml->deleteAction); } if (!empty($xml->fetchReportAction)) { $this->fetchReportAction = Kaltura_Client_Client::unmarshalItem($xml->fetchReportAction); } $this->updateRequiredEntryFields = (string) $xml->updateRequiredEntryFields; $this->updateRequiredMetadataXPaths = (string) $xml->updateRequiredMetadataXPaths; }