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; } 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_ParseUtils::unmarshalArray($xml->rules, "KalturaRule"); } }
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; } $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; } 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; } if (empty($xml->properties)) { $this->properties = array(); } else { $this->properties = Kaltura_Client_ParseUtils::unmarshalArray($xml->properties, "KalturaKeyValue"); } }
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; } $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->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; } $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; } 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 (!empty($xml->isSiteRestricted)) { $this->isSiteRestricted = true; } if (!empty($xml->isCountryRestricted)) { $this->isCountryRestricted = true; } if (!empty($xml->isSessionRestricted)) { $this->isSessionRestricted = true; } if (!empty($xml->isIpAddressRestricted)) { $this->isIpAddressRestricted = true; } if (!empty($xml->isUserAgentRestricted)) { $this->isUserAgentRestricted = true; } if (count($xml->previewLength)) { $this->previewLength = (int) $xml->previewLength; } if (!empty($xml->isScheduledNow)) { $this->isScheduledNow = true; } if (!empty($xml->isAdmin)) { $this->isAdmin = true; } $this->streamerType = (string) $xml->streamerType; $this->mediaProtocol = (string) $xml->mediaProtocol; $this->storageProfilesXML = (string) $xml->storageProfilesXML; if (empty($xml->accessControlMessages)) { $this->accessControlMessages = array(); } else { $this->accessControlMessages = Kaltura_Client_ParseUtils::unmarshalArray($xml->accessControlMessages, "KalturaString"); } if (empty($xml->accessControlActions)) { $this->accessControlActions = array(); } else { $this->accessControlActions = Kaltura_Client_ParseUtils::unmarshalArray($xml->accessControlActions, "KalturaRuleAction"); } if (empty($xml->flavorAssets)) { $this->flavorAssets = array(); } else { $this->flavorAssets = Kaltura_Client_ParseUtils::unmarshalArray($xml->flavorAssets, "KalturaFlavorAsset"); } }
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; $this->type = (string) $xml->type; 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 (!empty($xml->manualDispatchEnabled)) { $this->manualDispatchEnabled = true; } if (!empty($xml->automaticDispatchEnabled)) { $this->automaticDispatchEnabled = true; } $this->eventType = (string) $xml->eventType; $this->eventObjectType = (string) $xml->eventObjectType; if (empty($xml->eventConditions)) { $this->eventConditions = array(); } else { $this->eventConditions = Kaltura_Client_ParseUtils::unmarshalArray($xml->eventConditions, "KalturaCondition"); } if (empty($xml->contentParameters)) { $this->contentParameters = array(); } else { $this->contentParameters = Kaltura_Client_ParseUtils::unmarshalArray($xml->contentParameters, "KalturaEventNotificationParameter"); } if (empty($xml->userParameters)) { $this->userParameters = array(); } else { $this->userParameters = Kaltura_Client_ParseUtils::unmarshalArray($xml->userParameters, "KalturaEventNotificationParameter"); } }
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"); } }
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 (empty($xml->objects)) { $this->objects = array(); } else { $this->objects = Kaltura_Client_ParseUtils::unmarshalArray($xml->objects, "KalturaWidget"); } if (count($xml->totalCount)) { $this->totalCount = (int) $xml->totalCount; } }
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->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 (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; } 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 (empty($xml->messages)) { $this->messages = array(); } else { $this->messages = Kaltura_Client_ParseUtils::unmarshalArray($xml->messages, "KalturaString"); } if (empty($xml->actions)) { $this->actions = array(); } else { $this->actions = Kaltura_Client_ParseUtils::unmarshalArray($xml->actions, "KalturaRuleAction"); } }
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->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; } $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 = (int) $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; } if (empty($xml->srcFiles)) { $this->srcFiles = array(); } else { $this->srcFiles = Kaltura_Client_ParseUtils::unmarshalArray($xml->srcFiles, "KalturaString"); } $this->destFilePath = (string) $xml->destFilePath; $this->flavorAssetId = (string) $xml->flavorAssetId; if (count($xml->offset)) { $this->offset = (double) $xml->offset; } if (count($xml->duration)) { $this->duration = (double) $xml->duration; } }
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; } if (!empty($xml->isDefault)) { $this->isDefault = true; } if (count($xml->status)) { $this->status = (int) $xml->status; } $this->optionalFlavorParamsIds = (string) $xml->optionalFlavorParamsIds; $this->requiredFlavorParamsIds = (string) $xml->requiredFlavorParamsIds; if (empty($xml->optionalThumbDimensions)) { $this->optionalThumbDimensions = array(); } else { $this->optionalThumbDimensions = Kaltura_Client_ParseUtils::unmarshalArray($xml->optionalThumbDimensions, "KalturaDistributionThumbDimensions"); } if (empty($xml->requiredThumbDimensions)) { $this->requiredThumbDimensions = array(); } else { $this->requiredThumbDimensions = Kaltura_Client_ParseUtils::unmarshalArray($xml->requiredThumbDimensions, "KalturaDistributionThumbDimensions"); } $this->editableFields = (string) $xml->editableFields; $this->mandatoryFields = (string) $xml->mandatoryFields; }
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->bulkUploadJobId)) { $this->bulkUploadJobId = (int) $xml->bulkUploadJobId; } if (count($xml->lineIndex)) { $this->lineIndex = (int) $xml->lineIndex; } if (count($xml->partnerId)) { $this->partnerId = (int) $xml->partnerId; } $this->status = (string) $xml->status; $this->action = (string) $xml->action; $this->objectId = (string) $xml->objectId; if (count($xml->objectStatus)) { $this->objectStatus = (int) $xml->objectStatus; } $this->bulkUploadResultObjectType = (string) $xml->bulkUploadResultObjectType; $this->rowData = (string) $xml->rowData; $this->partnerData = (string) $xml->partnerData; $this->objectErrorDescription = (string) $xml->objectErrorDescription; if (empty($xml->pluginsData)) { $this->pluginsData = array(); } else { $this->pluginsData = Kaltura_Client_ParseUtils::unmarshalArray($xml->pluginsData, "KalturaBulkUploadPluginData"); } $this->errorDescription = (string) $xml->errorDescription; $this->errorCode = (string) $xml->errorCode; if (count($xml->errorType)) { $this->errorType = (int) $xml->errorType; } }