function update($id, Kaltura_Client_Type_BaseSyndicationFeed $syndicationFeed) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); $this->client->queueServiceActionCall("syndicationfeed", "update", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_BaseSyndicationFeed"); return $resultObject; }
function update($id, Kaltura_Client_Type_BaseSyndicationFeed $syndicationFeed) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); $this->client->queueServiceActionCall("syndicationfeed", "update", "KalturaBaseSyndicationFeed", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultXml = $this->client->doQueue(); $resultXmlObject = new \SimpleXMLElement($resultXml); Kaltura_Client_ParseUtils::checkIfError($resultXmlObject->result); $resultObject = Kaltura_Client_ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaBaseSyndicationFeed"); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_BaseSyndicationFeed"); return $resultObject; }
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; }