/** * Returns the table row based on the id passed * * @param string|int $id the id to search for * @return Zend_DbTable_Row */ public function getById($id) { $select = $this->select()->where('id = ?', $id); return AbstractModel::fetchRow($select); }