_init('aw_hdu3/ticket_status'); } /** * @param int $storeId * * @return string */ public function getTitle($storeId = 0) { return $this->getResource()->getStatusTitle($this, $storeId); } /** * @return array */ public function getLabelValues() { if (null === $this->getData('label_values')) { $this->setData('label_values', $this->getResource()->getLabelValues($this)); } return $this->getData('label_values'); } /** * @param array $labelValues * * @return AW_Helpdesk3_Model_Resource_Ticket_Status */ public function setLabelValues($labelValues) { return $this->getResource()->setLabelValues($this, $labelValues); } public function isEnabled() { return ($this->getStatus() == AW_Helpdesk3_Model_Source_Status::ENABLED_VALUE); } }