public function fetchAll($sort = null)
    {
        $select = $this->getSelect();
        $select = $this->setSortOrder($select, $sort);

        $resultSet = $this->fetchResult($select);

        return $resultSet;
    }
public function fetchAll($sort = null)
    {
        $select = $this->getSelect();
        $select = $this->setSortOrder($select, $sort);

        $resultSet = $this->fetchResult($select);

        return $resultSet;
    }
public function fetchAll ( $ sort = null ) { $ select = $ this -> getSelect ( ) ; $ select = $ this -> setSortOrder ( $ select , $ sort ) ; $ resultSet = $ this -> fetchResult ( $ select ) ; return $ resultSet ; }
Fetches all rows from database table.

@param null|string $sort
@return HydratingResultSet|\Zend\Db\ResultSet\ResultSet|Paginator
Fetches all rows from database table .