src/UthandoCommon/Db/Table/AbstractTable.php
public function fetchAll($paginated = false)
    {
        if ($paginated) {
            $paginatorAdapter   = new DbTableGateway($this->tableGateway);
            $paginator          = new Paginator($paginatorAdapter);

            return $paginator;
        }

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

        return $resultSet;
    }
public function fetchAll($paginated = false)
    {
        if ($paginated) {
            $paginatorAdapter   = new DbTableGateway($this->tableGateway);
            $paginator          = new Paginator($paginatorAdapter);

            return $paginator;
        }

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

        return $resultSet;
    }
public function fetchAll ( $ paginated = false ) { if ( $ paginated ) { $ paginatorAdapter = new DbTableGateway ( $ this -> tableGateway ) ; $ paginator = new Paginator ( $ paginatorAdapter ) ; return $ paginator ; } $ resultSet = $ this -> getTableGateway ( ) -> select ( ) ; return $ resultSet ; }
Fetch all records.

@param bool $paginated
@return ResultSet
Fetch all records .