public function toObject($dbObject = null, $propertiesToSkip = array()) { if (is_null($dbObject)) { $dbObject = new kEmailNotificationStaticRecipientJobData(); } return parent::toObject($dbObject, $propertiesToSkip); }
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()); }
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()); }