当前位置: 首页>>代码示例>>PHP>>正文


PHP Kaltura_Client_ParseUtils::unmarshalObject方法代码示例

本文整理汇总了PHP中Kaltura_Client_ParseUtils::unmarshalObject方法的典型用法代码示例。如果您正苦于以下问题:PHP Kaltura_Client_ParseUtils::unmarshalObject方法的具体用法?PHP Kaltura_Client_ParseUtils::unmarshalObject怎么用?PHP Kaltura_Client_ParseUtils::unmarshalObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Kaltura_Client_ParseUtils的用法示例。


在下文中一共展示了Kaltura_Client_ParseUtils::unmarshalObject方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->engineType = (string) $xml->engineType;
     if (!empty($xml->entryFilter)) {
         $this->entryFilter = Kaltura_Client_ParseUtils::unmarshalObject($xml->entryFilter, "KalturaBaseEntryFilter");
     }
     if (count($xml->actionIfInfected)) {
         $this->actionIfInfected = (int) $xml->actionIfInfected;
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:30,代码来源:VirusScanProfile.php

示例2: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->userId = (string) $xml->userId;
     $this->uploadedBy = (string) $xml->uploadedBy;
     if (count($xml->conversionProfileId)) {
         $this->conversionProfileId = (int) $xml->conversionProfileId;
     }
     $this->resultsFileLocalPath = (string) $xml->resultsFileLocalPath;
     $this->resultsFileUrl = (string) $xml->resultsFileUrl;
     if (count($xml->numOfEntries)) {
         $this->numOfEntries = (int) $xml->numOfEntries;
     }
     if (count($xml->numOfObjects)) {
         $this->numOfObjects = (int) $xml->numOfObjects;
     }
     $this->filePath = (string) $xml->filePath;
     $this->bulkUploadObjectType = (string) $xml->bulkUploadObjectType;
     $this->fileName = (string) $xml->fileName;
     if (!empty($xml->objectData)) {
         $this->objectData = Kaltura_Client_ParseUtils::unmarshalObject($xml->objectData, "KalturaBulkUploadObjectData");
     }
     $this->type = (string) $xml->type;
     $this->emailRecipients = (string) $xml->emailRecipients;
     if (count($xml->numOfErrorObjects)) {
         $this->numOfErrorObjects = (int) $xml->numOfErrorObjects;
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:31,代码来源:BulkUploadJobData.php

示例3: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->format = (string) $xml->format;
     $this->subject = (string) $xml->subject;
     $this->body = (string) $xml->body;
     $this->fromEmail = (string) $xml->fromEmail;
     $this->fromName = (string) $xml->fromName;
     if (!empty($xml->to)) {
         $this->to = Kaltura_Client_ParseUtils::unmarshalObject($xml->to, "KalturaEmailNotificationRecipientProvider");
     }
     if (!empty($xml->cc)) {
         $this->cc = Kaltura_Client_ParseUtils::unmarshalObject($xml->cc, "KalturaEmailNotificationRecipientProvider");
     }
     if (!empty($xml->bcc)) {
         $this->bcc = Kaltura_Client_ParseUtils::unmarshalObject($xml->bcc, "KalturaEmailNotificationRecipientProvider");
     }
     if (!empty($xml->replyTo)) {
         $this->replyTo = Kaltura_Client_ParseUtils::unmarshalObject($xml->replyTo, "KalturaEmailNotificationRecipientProvider");
     }
     if (count($xml->priority)) {
         $this->priority = (int) $xml->priority;
     }
     $this->confirmReadingTo = (string) $xml->confirmReadingTo;
     $this->hostname = (string) $xml->hostname;
     $this->messageID = (string) $xml->messageID;
     if (empty($xml->customHeaders)) {
         $this->customHeaders = array();
     } else {
         $this->customHeaders = Kaltura_Client_ParseUtils::unmarshalArray($xml->customHeaders, "KalturaKeyValue");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:35,代码来源:EmailNotificationTemplate.php

示例4: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->distributionProfileId)) {
         $this->distributionProfileId = (int) $xml->distributionProfileId;
     }
     if (!empty($xml->distributionProfile)) {
         $this->distributionProfile = Kaltura_Client_ParseUtils::unmarshalObject($xml->distributionProfile, "KalturaDistributionProfile");
     }
     if (count($xml->entryDistributionId)) {
         $this->entryDistributionId = (int) $xml->entryDistributionId;
     }
     if (!empty($xml->entryDistribution)) {
         $this->entryDistribution = Kaltura_Client_ParseUtils::unmarshalObject($xml->entryDistribution, "KalturaEntryDistribution");
     }
     $this->remoteId = (string) $xml->remoteId;
     $this->providerType = (string) $xml->providerType;
     if (!empty($xml->providerData)) {
         $this->providerData = Kaltura_Client_ParseUtils::unmarshalObject($xml->providerData, "KalturaDistributionJobProviderData");
     }
     $this->results = (string) $xml->results;
     $this->sentData = (string) $xml->sentData;
     if (empty($xml->mediaFiles)) {
         $this->mediaFiles = array();
     } else {
         $this->mediaFiles = Kaltura_Client_ParseUtils::unmarshalArray($xml->mediaFiles, "KalturaDistributionRemoteMediaFile");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:31,代码来源:DistributionJobData.php

示例5: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->field)) {
         $this->field = Kaltura_Client_ParseUtils::unmarshalObject($xml->field, "KalturaBooleanField");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:10,代码来源:EventFieldCondition.php

示例6: __construct

 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, "KalturaDataCenterContentResource");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:10,代码来源:ConcatAttributes.php

示例7: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->filter)) {
         $this->filter = Kaltura_Client_ParseUtils::unmarshalObject($xml->filter, "KalturaUserFilter");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:10,代码来源:EmailNotificationUserRecipientJobData.php

示例8: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->content)) {
         $this->content = Kaltura_Client_ParseUtils::unmarshalObject($xml->content, "KalturaStringValue");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:10,代码来源:HttpNotificationDataText.php

示例9: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->dimensions)) {
         $this->dimensions = Kaltura_Client_ParseUtils::unmarshalObject($xml->dimensions, "KalturaDistributionThumbDimensions");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:10,代码来源:DistributionValidationErrorMissingThumbnail.php

示例10: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->value)) {
         $this->value = Kaltura_Client_ParseUtils::unmarshalObject($xml->value, "KalturaIntegerValue");
     }
     $this->comparison = (string) $xml->comparison;
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:11,代码来源:CompareCondition.php

示例11: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->orderBy = (string) $xml->orderBy;
     if (!empty($xml->advancedSearch)) {
         $this->advancedSearch = Kaltura_Client_ParseUtils::unmarshalObject($xml->advancedSearch, "KalturaSearchItem");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:11,代码来源:Filter.php

示例12: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->key = (string) $xml->key;
     $this->description = (string) $xml->description;
     if (!empty($xml->value)) {
         $this->value = Kaltura_Client_ParseUtils::unmarshalObject($xml->value, "KalturaStringValue");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:12,代码来源:EventNotificationParameter.php

示例13: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->conversionProfileIdFilter)) {
         $this->conversionProfileIdFilter = Kaltura_Client_ParseUtils::unmarshalObject($xml->conversionProfileIdFilter, "KalturaConversionProfileFilter");
     }
     if (!empty($xml->assetParamsIdFilter)) {
         $this->assetParamsIdFilter = Kaltura_Client_ParseUtils::unmarshalObject($xml->assetParamsIdFilter, "KalturaAssetParamsFilter");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:13,代码来源:ConversionProfileAssetParamsFilter.php

示例14: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->categoryId)) {
         $this->categoryId = Kaltura_Client_ParseUtils::unmarshalObject($xml->categoryId, "KalturaStringValue");
     }
     if (!empty($xml->categoryUserFilter)) {
         $this->categoryUserFilter = Kaltura_Client_ParseUtils::unmarshalObject($xml->categoryUserFilter, "KalturaCategoryUserProviderFilter");
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:13,代码来源:EmailNotificationCategoryRecipientProvider.php

示例15: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->xpath = (string) $xml->xpath;
     if (!empty($xml->identifier)) {
         $this->identifier = Kaltura_Client_ParseUtils::unmarshalObject($xml->identifier, "KalturaObjectIdentifier");
     }
     if (count($xml->extensionMode)) {
         $this->extensionMode = (int) $xml->extensionMode;
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:14,代码来源:ExtendingItemMrssParameter.php


注:本文中的Kaltura_Client_ParseUtils::unmarshalObject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。