_db->select(); $select->from($this->_getPair()); $select->where('`id` = ?', $this->_db->quote($categoryId, Zend_Db::INT_TYPE)); $select->limit(1); return $this->_db->fetchRow($select); } }