public function doFromObject($source_object, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($source_object, $responseProfile);
     if ($this->shouldGet('provisioningParams', $responseProfile)) {
         $this->provisioningParams = KalturaKeyValueArray::fromKeyValueArray($source_object->getProvisioningParams());
     }
 }
 public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kEmailNotificationStaticRecipientJobData */
     parent::doFromObject($dbObject, $responseProfile);
     $this->setProviderType();
     $this->emailRecipients = KalturaKeyValueArray::fromKeyValueArray($dbObject->getEmailRecipients());
 }
 public function fromObject($dbObject)
 {
     /* @var $dbObject kEmailNotificationStaticRecipientJobData */
     parent::fromObject($dbObject);
     $this->setProviderType();
     $this->emailRecipients = KalturaKeyValueArray::fromKeyValueArray($dbObject->getEmailRecipients());
 }
 public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /** @var $dbObject kAssetPropertiesCompareCondition */
     parent::doFromObject($dbObject, $responseProfile);
     if ($this->shouldGet('properties', $responseProfile)) {
         $this->properties = KalturaKeyValueArray::fromKeyValueArray($dbObject->getProperties());
     }
 }
예제 #5
0
 public function doFromObject($partner, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($partner);
     $this->name = kString::stripUtf8InvalidChars($this->name);
     $this->description = kString::stripUtf8InvalidChars($this->description);
     $this->adminName = kString::stripUtf8InvalidChars($this->adminName);
     $this->additionalParams = KalturaKeyValueArray::fromKeyValueArray($partner->getAdditionalParams());
     if (!$this->host) {
         $this->host = null;
     }
     if (!$this->cdnHost) {
         $this->cdnHost = null;
     }
 }
 public function fromObject($source_object)
 {
     parent::fromObject($source_object);
     $this->urlManagerParams = KalturaKeyValueArray::fromKeyValueArray($source_object->getUrlManagerParams());
     $this->pathManagerParams = KalturaKeyValueArray::fromKeyValueArray($source_object->getPathManagerParams());
 }
 protected function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kEventNotificationDispatchJobData */
     parent::doFromObject($dbObject, $responseProfile);
     $this->contentParameters = KalturaKeyValueArray::fromKeyValueArray($dbObject->getContentParameters());
 }
 public function fromPartner(Partner $partner)
 {
     parent::fromObject($partner);
     $this->name = kString::stripUtf8InvalidChars($this->name);
     $this->description = kString::stripUtf8InvalidChars($this->description);
     $this->adminName = kString::stripUtf8InvalidChars($this->adminName);
     $this->additionalParams = KalturaKeyValueArray::fromKeyValueArray($partner->getAdditionalParams());
     return $this;
 }
예제 #9
0
 public function fromPartner(Partner $partner)
 {
     parent::fromObject($partner);
     $this->additionalParams = KalturaKeyValueArray::fromKeyValueArray($this->additionalParams);
     return $this;
 }
 public function doFromObject($source_object, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($source_object, $responseProfile);
     /* @var $source_object CrossKalturaDistributionProfile */
     $this->mapAccessControlProfileIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapAccessControlProfileIds());
     $this->mapConversionProfileIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapConversionProfileIds());
     $this->mapMetadataProfileIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapMetadataProfileIds());
     $this->mapStorageProfileIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapStorageProfileIds());
     $this->mapFlavorParamsIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapFlavorParamsIds());
     $this->mapThumbParamsIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapThumbParamsIds());
     $this->mapCaptionParamsIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getMapCaptionParamsIds());
 }
 public function fromObject($dbObject)
 {
     /* @var $dbObject kEmailNotificationDispatchJobData */
     parent::fromObject($dbObject);
     $this->to = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getTo());
     $this->cc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getCc());
     $this->bcc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getBcc());
     $this->replyTo = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getReplyTo());
     $this->customHeaders = KalturaKeyValueArray::fromKeyValueArray($dbObject->getCustomHeaders());
     $this->contentParameters = KalturaKeyValueArray::fromKeyValueArray($dbObject->getContentParameters());
 }
예제 #12
0
 public function doFromObject($source_object, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($source_object, $responseProfile);
     if ($this->shouldGet('pathManagerParams', $responseProfile)) {
         $this->pathManagerParams = KalturaKeyValueArray::fromKeyValueArray($source_object->getPathManagerParams());
     }
     if ($this->shouldGet('deliveryProfileIds', $responseProfile)) {
         $this->deliveryProfileIds = KalturaKeyValueArray::fromKeyValueArray($source_object->getDeliveryProfileIds());
     }
 }
 public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     /* @var $dbObject kEmailNotificationDispatchJobData */
     parent::doFromObject($dbObject, $responseProfile);
     $this->to = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getTo());
     $this->cc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getCc());
     $this->bcc = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getBcc());
     $this->replyTo = KalturaEmailNotificationRecipientJobData::getDataInstance($dbObject->getReplyTo());
     $this->customHeaders = KalturaKeyValueArray::fromKeyValueArray($dbObject->getCustomHeaders());
 }