protected function _afterLoad() { if (is_string($this->getData('scope'))) { $this->setData('scope', @explode(',', $this->getData('scope'))); } return parent::_afterLoad(); }
protected function _afterLoad() { if (!is_array($this->getData('attachments'))) { $this->setData('attachments', @unserialize($this->getData('attachments'))); } return parent::_afterLoad(); }
public function _afterLoad() { if ($this->getDepartmentId()) { $this->setDepartmentSavedId($this->getDepartmentId()); } if ($this->getStatus()) { $this->setStatusId($this->getStatus()); } if ($this->getPriority()) { $this->setSavedPriority($this->getPriority()); } return parent::_afterLoad(); }