_hasReason = (bool) $value; return $this; } public function hasReason() { return $this->_hasReason; } public function getReasonTitle($reasonId) { $select = $this->_db->select(); $select->from($this->_getPair('DContactReason'), 'title'); $select->where('`DContactReason`.`id` = ?', (string) $reasonId, Qs_Db::INT_TYPE); $select->limit(1); return $this->_db->fetchOne($select); } }