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"); } }
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; }
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; } }
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; } }
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"); } }
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; }
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"); } }
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"); } }
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"); } }
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"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->xslt = (string) $xml->xslt; if (empty($xml->itemXpathsToExtend)) { $this->itemXpathsToExtend = array(); } else { $this->itemXpathsToExtend = \Kaltura\Client\ParseUtils::unmarshalArray($xml->itemXpathsToExtend, "KalturaExtendingItemMrssParameter"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->columns = (string) $xml->columns; if (empty($xml->results)) { $this->results = array(); } else { $this->results = \Kaltura\Client\ParseUtils::unmarshalArray($xml->results, "KalturaString"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->validationError = (string) $xml->validationError; if (empty($xml->assetDistributionConditions)) { $this->assetDistributionConditions = array(); } else { $this->assetDistributionConditions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->assetDistributionConditions, "KalturaAssetDistributionCondition"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->provisioningParams)) { $this->provisioningParams = array(); } else { $this->provisioningParams = \Kaltura\Client\ParseUtils::unmarshalArray($xml->provisioningParams, "KalturaKeyValue"); } $this->userName = (string) $xml->userName; $this->password = (string) $xml->password; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->addRemoveType)) { $this->addRemoveType = (int) $xml->addRemoveType; } if (empty($xml->categoryIds)) { $this->categoryIds = array(); } else { $this->categoryIds = \Kaltura\Client\ParseUtils::unmarshalArray($xml->categoryIds, "KalturaIntegerValue"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->id = (string) $xml->id; $this->label = (string) $xml->label; if (empty($xml->flashvars)) { $this->flashvars = array(); } else { $this->flashvars = \Kaltura\Client\ParseUtils::unmarshalArray($xml->flashvars, "KalturaKeyValue"); } $this->minVersion = (string) $xml->minVersion; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->templateId)) { $this->templateId = (int) $xml->templateId; } if (empty($xml->contentParameters)) { $this->contentParameters = array(); } else { $this->contentParameters = \Kaltura\Client\ParseUtils::unmarshalArray($xml->contentParameters, "KalturaKeyValue"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->csvVersion)) { $this->csvVersion = (int) $xml->csvVersion; } if (empty($xml->columns)) { $this->columns = array(); } else { $this->columns = \Kaltura\Client\ParseUtils::unmarshalArray($xml->columns, "KalturaString"); } }
/** * Get content keys for input key ids * * * @return array */ function getContentKeys($keyIds) { $kparams = array(); $this->client->addParam($kparams, "keyIds", $keyIds); $this->client->queueServiceActionCall("playready_playreadydrm", "getContentKeys", "KalturaPlayReadyContentKey", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultXml = $this->client->doQueue(); $resultXmlObject = new \SimpleXMLElement($resultXml); \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result); $resultObject = \Kaltura\Client\ParseUtils::unmarshalArray($resultXmlObject->result, "KalturaPlayReadyContentKey"); $this->client->validateObjectType($resultObject, "array"); return $resultObject; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->objects)) { $this->objects = array(); } else { $this->objects = \Kaltura\Client\ParseUtils::unmarshalArray($xml->objects, "KalturaMetadataProfile"); } if (count($xml->totalCount)) { $this->totalCount = (int) $xml->totalCount; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->type)) { $this->type = (int) $xml->type; } if (empty($xml->items)) { $this->items = array(); } else { $this->items = \Kaltura\Client\ParseUtils::unmarshalArray($xml->items, "KalturaSearchItem"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->objects)) { $this->objects = array(); } else { $this->objects = \Kaltura\Client\ParseUtils::unmarshalArray($xml->objects, "KalturaSearchResult"); } if (!empty($xml->needMediaInfo)) { $this->needMediaInfo = true; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->copyCount)) { $this->copyCount = (int) $xml->copyCount; } if (empty($xml->copyEnablers)) { $this->copyEnablers = array(); } else { $this->copyEnablers = \Kaltura\Client\ParseUtils::unmarshalArray($xml->copyEnablers, "KalturaPlayReadyCopyEnablerHolder"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->fieldConfigArray)) { $this->fieldConfigArray = array(); } else { $this->fieldConfigArray = \Kaltura\Client\ParseUtils::unmarshalArray($xml->fieldConfigArray, "KalturaDistributionFieldConfig"); } if (empty($xml->itemXpathsToExtend)) { $this->itemXpathsToExtend = array(); } else { $this->itemXpathsToExtend = \Kaltura\Client\ParseUtils::unmarshalArray($xml->itemXpathsToExtend, "KalturaExtendingItemMrssParameter"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->type)) { $this->type = (int) $xml->type; } if (empty($xml->versions)) { $this->versions = array(); } else { $this->versions = \Kaltura\Client\ParseUtils::unmarshalArray($xml->versions, "KalturaString"); } $this->directory = (string) $xml->directory; $this->filename = (string) $xml->filename; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->destDirLocalPath = (string) $xml->destDirLocalPath; $this->destDirRemoteUrl = (string) $xml->destDirRemoteUrl; $this->destFileName = (string) $xml->destFileName; $this->inputXmlLocalPath = (string) $xml->inputXmlLocalPath; $this->inputXmlRemoteUrl = (string) $xml->inputXmlRemoteUrl; $this->commandLinesStr = (string) $xml->commandLinesStr; if (empty($xml->flavors)) { $this->flavors = array(); } else { $this->flavors = \Kaltura\Client\ParseUtils::unmarshalArray($xml->flavors, "KalturaConvertCollectionFlavorData"); } }
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; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->url = (string) $xml->url; if (count($xml->method)) { $this->method = (int) $xml->method; } $this->data = (string) $xml->data; if (count($xml->timeout)) { $this->timeout = (int) $xml->timeout; } if (count($xml->connectTimeout)) { $this->connectTimeout = (int) $xml->connectTimeout; } $this->username = (string) $xml->username; $this->password = (string) $xml->password; if (count($xml->authenticationMethod)) { $this->authenticationMethod = (int) $xml->authenticationMethod; } if (count($xml->sslVersion)) { $this->sslVersion = (int) $xml->sslVersion; } $this->sslCertificate = (string) $xml->sslCertificate; $this->sslCertificateType = (string) $xml->sslCertificateType; $this->sslCertificatePassword = (string) $xml->sslCertificatePassword; $this->sslEngine = (string) $xml->sslEngine; $this->sslEngineDefault = (string) $xml->sslEngineDefault; $this->sslKeyType = (string) $xml->sslKeyType; $this->sslKey = (string) $xml->sslKey; $this->sslKeyPassword = (string) $xml->sslKeyPassword; if (empty($xml->customHeaders)) { $this->customHeaders = array(); } else { $this->customHeaders = \Kaltura\Client\ParseUtils::unmarshalArray($xml->customHeaders, "KalturaKeyValue"); } if (empty($xml->contentParameters)) { $this->contentParameters = array(); } else { $this->contentParameters = \Kaltura\Client\ParseUtils::unmarshalArray($xml->contentParameters, "KalturaKeyValue"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->id)) { $this->id = (string) $xml->id; } $this->uploadedBy = (string) $xml->uploadedBy; $this->uploadedByUserId = (string) $xml->uploadedByUserId; if (count($xml->uploadedOn)) { $this->uploadedOn = (int) $xml->uploadedOn; } if (count($xml->numOfEntries)) { $this->numOfEntries = (int) $xml->numOfEntries; } if (count($xml->status)) { $this->status = (int) $xml->status; } $this->logFileUrl = (string) $xml->logFileUrl; $this->csvFileUrl = (string) $xml->csvFileUrl; $this->bulkFileUrl = (string) $xml->bulkFileUrl; $this->bulkUploadType = (string) $xml->bulkUploadType; if (empty($xml->results)) { $this->results = array(); } else { $this->results = \Kaltura\Client\ParseUtils::unmarshalArray($xml->results, "KalturaBulkUploadResult"); } $this->error = (string) $xml->error; if (count($xml->errorType)) { $this->errorType = (int) $xml->errorType; } if (count($xml->errorNumber)) { $this->errorNumber = (int) $xml->errorNumber; } $this->fileName = (string) $xml->fileName; $this->description = (string) $xml->description; if (count($xml->numOfObjects)) { $this->numOfObjects = (int) $xml->numOfObjects; } $this->bulkUploadObjectType = (string) $xml->bulkUploadObjectType; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->offlineMessage = (string) $xml->offlineMessage; if (count($xml->recordStatus)) { $this->recordStatus = (int) $xml->recordStatus; } if (count($xml->dvrStatus)) { $this->dvrStatus = (int) $xml->dvrStatus; } if (count($xml->dvrWindow)) { $this->dvrWindow = (int) $xml->dvrWindow; } if (count($xml->lastElapsedRecordingTime)) { $this->lastElapsedRecordingTime = (int) $xml->lastElapsedRecordingTime; } if (empty($xml->liveStreamConfigurations)) { $this->liveStreamConfigurations = array(); } else { $this->liveStreamConfigurations = \Kaltura\Client\ParseUtils::unmarshalArray($xml->liveStreamConfigurations, "KalturaLiveStreamConfiguration"); } $this->recordedEntryId = (string) $xml->recordedEntryId; if (count($xml->pushPublishEnabled)) { $this->pushPublishEnabled = (int) $xml->pushPublishEnabled; } if (empty($xml->publishConfigurations)) { $this->publishConfigurations = array(); } else { $this->publishConfigurations = \Kaltura\Client\ParseUtils::unmarshalArray($xml->publishConfigurations, "KalturaLiveStreamPushPublishConfiguration"); } if (count($xml->firstBroadcast)) { $this->firstBroadcast = (int) $xml->firstBroadcast; } if (count($xml->lastBroadcast)) { $this->lastBroadcast = (int) $xml->lastBroadcast; } if (count($xml->currentBroadcastStartTime)) { $this->currentBroadcastStartTime = (double) $xml->currentBroadcastStartTime; } }