public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->limit)) {
         $this->limit = (int) $xml->limit;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->externalSourceTypeEqual = (string) $xml->externalSourceTypeEqual;
     $this->externalSourceTypeIn = (string) $xml->externalSourceTypeIn;
     $this->assetParamsIdsMatchOr = (string) $xml->assetParamsIdsMatchOr;
     $this->assetParamsIdsMatchAnd = (string) $xml->assetParamsIdsMatchAnd;
 }
Example #4
0
 /**
  * Count mix entries by filter.
  * 	 
  * 
  * @return int
  */
 function count(\Kaltura\Client\Type\MediaEntryFilter $filter = null)
 {
     $kparams = array();
     if ($filter !== null) {
         $this->client->addParam($kparams, "filter", $filter->toParams());
     }
     $this->client->queueServiceActionCall("mixing", "count", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }