library/Garp/Model/Db.php
public function fetchBySlug($slug) {
        $select = $this->select()->where('slug = ?', $slug);
        return $this->fetchRow($select);
    }
public function fetchBySlug($slug) {
        $select = $this->select()->where('slug = ?', $slug);
        return $this->fetchRow($select);
    }
public function fetchBySlug ( $ slug ) { $ select = $ this -> select ( ) -> where ( 'slug = ?' , $ slug ) ; return $ this -> fetchRow ( $ select ) ; }
Shortcut method for fetching record by slug

@param string $slug
@return Zend_Db_Table_Row
Shortcut method for fetching record by slug