public function fetchRowByConst($const, Default_Model_Setting $model) { $sql = $this->getDbTable()->select()->where('const = ?', $const); $result = $this->getDbTable()->fetchRow($sql); if (0 == count($result)) { return; } $model->setOptions($result->toArray()); return $model; }