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


PHP Kaltura_Client_ObjectBase::__construct方法代码示例

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


在下文中一共展示了Kaltura_Client_ObjectBase::__construct方法的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->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->fileAssetObjectType = (string) $xml->fileAssetObjectType;
     $this->objectId = (string) $xml->objectId;
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->fileExt = (string) $xml->fileExt;
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     $this->status = (string) $xml->status;
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:28,代码来源:FileAsset.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->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:Blaeg,项目名称:kaltura-migrations,代码行数:30,代码来源:AccessControl.php

示例3: __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->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->isDefault)) {
         $this->isDefault = (int) $xml->isDefault;
     }
     if (empty($xml->rules)) {
         $this->rules = array();
     } else {
         $this->rules = Kaltura_Client_Client::unmarshalItem($xml->rules);
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:30,代码来源:AccessControlProfile.php

示例4: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:7,代码来源:MediaServerStatus.php

示例5: __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->isSystemDefault)) {
         $this->isSystemDefault = (int) $xml->isSystemDefault;
     }
     $this->tags = (string) $xml->tags;
     if (empty($xml->requiredPermissions)) {
         $this->requiredPermissions = array();
     } else {
         $this->requiredPermissions = Kaltura_Client_Client::unmarshalItem($xml->requiredPermissions);
     }
     if (count($xml->sourceRemoteStorageProfileId)) {
         $this->sourceRemoteStorageProfileId = (int) $xml->sourceRemoteStorageProfileId;
     }
     if (count($xml->remoteStorageProfileIds)) {
         $this->remoteStorageProfileIds = (int) $xml->remoteStorageProfileIds;
     }
     $this->mediaParserType = (string) $xml->mediaParserType;
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:35,代码来源:AssetParams.php

示例6: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->packageBandwidthAndStorage)) {
         $this->packageBandwidthAndStorage = (int) $xml->packageBandwidthAndStorage;
     }
     if (count($xml->hosting)) {
         $this->hosting = (double) $xml->hosting;
     }
     if (count($xml->bandwidth)) {
         $this->bandwidth = (double) $xml->bandwidth;
     }
     if (count($xml->usage)) {
         $this->usage = (int) $xml->usage;
     }
     if (count($xml->usagePercent)) {
         $this->usagePercent = (double) $xml->usagePercent;
     }
     if (count($xml->reachedLimitDate)) {
         $this->reachedLimitDate = (int) $xml->reachedLimitDate;
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:25,代码来源:PartnerStatistics.php

示例7: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->categoryId)) {
         $this->categoryId = (int) $xml->categoryId;
     }
     $this->userId = (string) $xml->userId;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->permissionLevel)) {
         $this->permissionLevel = (int) $xml->permissionLevel;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->updateMethod)) {
         $this->updateMethod = (int) $xml->updateMethod;
     }
     $this->categoryFullIds = (string) $xml->categoryFullIds;
     $this->permissionNames = (string) $xml->permissionNames;
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:31,代码来源:CategoryUser.php

示例8: __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->expiresAt)) {
         $this->expiresAt = (int) $xml->expiresAt;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->userId = (string) $xml->userId;
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->fullUrl = (string) $xml->fullUrl;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:29,代码来源:ShortLink.php

示例9: __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

示例10: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->id = (string) $xml->id;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     $this->name = (string) $xml->name;
     $this->description = (string) $xml->description;
     $this->tags = (string) $xml->tags;
     $this->type = (string) $xml->type;
     $this->status = (string) $xml->status;
     $this->channelId = (string) $xml->channelId;
     $this->entryId = (string) $xml->entryId;
     $this->triggerType = (string) $xml->triggerType;
     $this->triggerSegmentId = (string) $xml->triggerSegmentId;
     if (count($xml->startTime)) {
         $this->startTime = (double) $xml->startTime;
     }
     if (count($xml->duration)) {
         $this->duration = (double) $xml->duration;
     }
 }
开发者ID:Blaeg,项目名称:kaltura-migrations,代码行数:32,代码来源:LiveChannelSegment.php

示例11: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->id)) {
         $this->id = (int) $xml->id;
     }
     $this->name = (string) $xml->name;
     $this->systemName = (string) $xml->systemName;
     $this->description = (string) $xml->description;
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->permissionNames = (string) $xml->permissionNames;
     $this->tags = (string) $xml->tags;
     if (count($xml->createdAt)) {
         $this->createdAt = (int) $xml->createdAt;
     }
     if (count($xml->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:27,代码来源:UserRole.php

示例12: __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_Client::unmarshalItem($xml->actions);
     }
     if (empty($xml->conditions)) {
         $this->conditions = array();
     } else {
         $this->conditions = Kaltura_Client_Client::unmarshalItem($xml->conditions);
     }
     if (empty($xml->contexts)) {
         $this->contexts = array();
     } else {
         $this->contexts = Kaltura_Client_Client::unmarshalItem($xml->contexts);
     }
     if (!empty($xml->stopProcessing)) {
         $this->stopProcessing = true;
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:26,代码来源:Rule.php

示例13: __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->metadataObjectType = (string) $xml->metadataObjectType;
     if (count($xml->version)) {
         $this->version = (int) $xml->version;
     }
     $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->updatedAt)) {
         $this->updatedAt = (int) $xml->updatedAt;
     }
     if (count($xml->status)) {
         $this->status = (int) $xml->status;
     }
     $this->xsd = (string) $xml->xsd;
     $this->views = (string) $xml->views;
     $this->xslt = (string) $xml->xslt;
     if (count($xml->createMode)) {
         $this->createMode = (int) $xml->createMode;
     }
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:35,代码来源:MetadataProfile.php

示例14: __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:Blaeg,项目名称:kaltura-migrations,代码行数:26,代码来源:Rule.php

示例15: __construct

 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->clientVer = (string) $xml->clientVer;
     $this->kmcEventActionPath = (string) $xml->kmcEventActionPath;
     if (count($xml->kmcEventType)) {
         $this->kmcEventType = (int) $xml->kmcEventType;
     }
     if (count($xml->eventTimestamp)) {
         $this->eventTimestamp = (double) $xml->eventTimestamp;
     }
     $this->sessionId = (string) $xml->sessionId;
     if (count($xml->partnerId)) {
         $this->partnerId = (int) $xml->partnerId;
     }
     $this->entryId = (string) $xml->entryId;
     $this->widgetId = (string) $xml->widgetId;
     if (count($xml->uiconfId)) {
         $this->uiconfId = (int) $xml->uiconfId;
     }
     $this->userId = (string) $xml->userId;
     $this->userIp = (string) $xml->userIp;
 }
开发者ID:Postmedia-Digital,项目名称:kaltura-all-in-one-video-pack,代码行数:26,代码来源:StatsKmcEvent.php


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