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;
     }
     $this->url = (string) $xml->url;
 }
예제 #3
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->entryId = (string) $xml->entryId;
     if (count($xml->flavorParamsId)) {
         $this->flavorParamsId = (int) $xml->flavorParamsId;
     }
 }
예제 #4
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->url = (string) $xml->url;
     if (!empty($xml->forceAsyncDownload)) {
         $this->forceAsyncDownload = true;
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->resources)) {
         $this->resources = array();
     } else {
         $this->resources = \Kaltura\Client\ParseUtils::unmarshalArray($xml->resources, "KalturaRemoteStorageResource");
     }
 }
예제 #6
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->fileSyncObjectType)) {
         $this->fileSyncObjectType = (int) $xml->fileSyncObjectType;
     }
     if (count($xml->objectSubType)) {
         $this->objectSubType = (int) $xml->objectSubType;
     }
     $this->objectId = (string) $xml->objectId;
     $this->version = (string) $xml->version;
 }
예제 #7
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->resource)) {
         $this->resource = \Kaltura\Client\ParseUtils::unmarshalObject($xml->resource, "KalturaContentResource");
     }
     if (empty($xml->operationAttributes)) {
         $this->operationAttributes = array();
     } else {
         $this->operationAttributes = \Kaltura\Client\ParseUtils::unmarshalArray($xml->operationAttributes, "KalturaOperationAttributes");
     }
     if (count($xml->assetParamsId)) {
         $this->assetParamsId = (int) $xml->assetParamsId;
     }
 }