• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Client\ParseUtils类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Kaltura\Client\ParseUtils的典型用法代码示例。如果您正苦于以下问题:PHP ParseUtils类的具体用法?PHP ParseUtils怎么用?PHP ParseUtils使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->message = (string) $xml->message;
     if (empty($xml->actions)) {
         $this->actions = array();
     } else {
         $this->actions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->actions, "KalturaRuleAction");
     }
     if (empty($xml->conditions)) {
         $this->conditions = array();
     } else {
         $this->conditions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->conditions, "KalturaCondition");
     }
     if (empty($xml->contexts)) {
         $this->contexts = array();
     } else {
         $this->contexts = \Kaltura\Client\ParseUtils::unmarshalArray($xml->contexts, "KalturaContextTypeHolder");
     }
     if (!empty($xml->stopProcessing)) {
         $this->stopProcessing = true;
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:26,代码来源:Rule.php


示例2: __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:klvtz,项目名称:kaltura-client53,代码行数:30,代码来源:VirusScanProfile.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:klvtz,项目名称:kaltura-client53,代码行数:35,代码来源:EmailNotificationTemplate.php


示例4: __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->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->isDefault)) {
         $this->isDefault = (int) $xml->isDefault;
     }
     if (empty($xml->restrictions)) {
         $this->restrictions = array();
     } else {
         $this->restrictions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->restrictions, "KalturaBaseRestriction");
     }
     if (!empty($xml->containsUnsuportedRestrictions)) {
         $this->containsUnsuportedRestrictions = true;
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:30,代码来源:AccessControl.php


示例5: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->streamRemoteId = (string) $xml->streamRemoteId;
     $this->streamRemoteBackupId = (string) $xml->streamRemoteBackupId;
     if (empty($xml->bitrates)) {
         $this->bitrates = array();
     } else {
         $this->bitrates = \Kaltura\Client\ParseUtils::unmarshalArray($xml->bitrates, "KalturaLiveStreamBitrate");
     }
     $this->primaryBroadcastingUrl = (string) $xml->primaryBroadcastingUrl;
     $this->secondaryBroadcastingUrl = (string) $xml->secondaryBroadcastingUrl;
     $this->primaryRtspBroadcastingUrl = (string) $xml->primaryRtspBroadcastingUrl;
     $this->secondaryRtspBroadcastingUrl = (string) $xml->secondaryRtspBroadcastingUrl;
     $this->streamName = (string) $xml->streamName;
     $this->streamUrl = (string) $xml->streamUrl;
     $this->hlsStreamUrl = (string) $xml->hlsStreamUrl;
     $this->urlManager = (string) $xml->urlManager;
     $this->encodingIP1 = (string) $xml->encodingIP1;
     $this->encodingIP2 = (string) $xml->encodingIP2;
     $this->streamPassword = (string) $xml->streamPassword;
     $this->streamUsername = (string) $xml->streamUsername;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:26,代码来源:LiveStreamEntry.php


示例6: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->playlistContent = (string) $xml->playlistContent;
     if (empty($xml->filters)) {
         $this->filters = array();
     } else {
         $this->filters = \Kaltura\Client\ParseUtils::unmarshalArray($xml->filters, "KalturaMediaEntryFilterForPlaylist");
     }
     if (count($xml->totalResults)) {
         $this->totalResults = (int) $xml->totalResults;
     }
     if (count($xml->playlistType)) {
         $this->playlistType = (int) $xml->playlistType;
     }
     if (count($xml->plays)) {
         $this->plays = (int) $xml->plays;
     }
     if (count($xml->views)) {
         $this->views = (int) $xml->views;
     }
     if (count($xml->duration)) {
         $this->duration = (int) $xml->duration;
     }
     $this->executeUrl = (string) $xml->executeUrl;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:29,代码来源:Playlist.php


示例7: __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:klvtz,项目名称:kaltura-client53,代码行数:31,代码来源:DistributionJobData.php


示例8: __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:klvtz,项目名称:kaltura-client53,代码行数:31,代码来源:BulkUploadJobData.php


示例9: __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:klvtz,项目名称:kaltura-client53,代码行数:10,代码来源:EventFieldCondition.php


示例10: __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:klvtz,项目名称:kaltura-client53,代码行数:10,代码来源:HttpNotificationDataText.php


示例11: __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:klvtz,项目名称:kaltura-client53,代码行数:10,代码来源:DistributionValidationErrorMissingThumbnail.php


示例12: __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:klvtz,项目名称:kaltura-client53,代码行数:10,代码来源:ConcatAttributes.php


示例13: __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:klvtz,项目名称:kaltura-client53,代码行数:10,代码来源:EmailNotificationUserRecipientProvider.php


示例14: __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:klvtz,项目名称:kaltura-client53,代码行数:11,代码来源:Filter.php


示例15: __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:klvtz,项目名称:kaltura-client53,代码行数:11,代码来源:CompareCondition.php


示例16: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->privileges)) {
         $this->privileges = array();
     } else {
         $this->privileges = \Kaltura\Client\ParseUtils::unmarshalArray($xml->privileges, "KalturaStringValue");
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:12,代码来源:AuthenticatedCondition.php


示例17: __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:klvtz,项目名称:kaltura-client53,代码行数:12,代码来源:EventNotificationParameter.php


示例18: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->emailRecipients)) {
         $this->emailRecipients = array();
     } else {
         $this->emailRecipients = \Kaltura\Client\ParseUtils::unmarshalArray($xml->emailRecipients, "KalturaEmailNotificationRecipient");
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:12,代码来源:EmailNotificationStaticRecipientProvider.php


示例19: __construct

 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->changedItems)) {
         $this->changedItems = array();
     } else {
         $this->changedItems = \Kaltura\Client\ParseUtils::unmarshalArray($xml->changedItems, "KalturaAuditTrailChangeItem");
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:12,代码来源:AuditTrailChangeInfo.php


示例20: __construct

 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");
     }
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:12,代码来源:RemoteStorageResources.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Model\Project类代码示例发布时间:2022-05-23
下一篇:
PHP Client\ObjectBase类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap