public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } }
/** * List Syndication Feeds by filter with paging support * * * @return \Kaltura\Client\Type\BaseSyndicationFeedListResponse */ function listAction(\Kaltura\Client\Type\BaseSyndicationFeedFilter $filter = null, \Kaltura\Client\Type\FilterPager $pager = null) { $kparams = array(); if ($filter !== null) { $this->client->addParam($kparams, "filter", $filter->toParams()); } if ($pager !== null) { $this->client->addParam($kparams, "pager", $pager->toParams()); } $this->client->queueServiceActionCall("syndicationfeed", "list", "KalturaBaseSyndicationFeedListResponse", $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, "KalturaBaseSyndicationFeedListResponse"); $this->client->validateObjectType($resultObject, "\\Kaltura\\Client\\Type\\BaseSyndicationFeedListResponse"); return $resultObject; }