public function toArray()
    {
        return array(
            'firstPage' => $this->getFirstPage(),
            'lastPage' => $this->getLastPage(),
            'offset' => $this->countOffset(),
            'summary' => $this->getSummary(),
            'hasPages' => $this->hasPages(),
            'hasAdapter' => $this->hasAdapter(),
            'hasNextPage' => $this->hasNextPage(),
            'hasPreviousPage' => $this->hasPreviousPage(),
            'nextPage' => $this->getNextPage(),
            'previousPage' => $this->getPreviousPage(),
            'nextPageUrl' => $this->getNextPageUrl(),
            'previousPageUrl' => $this->getPreviousPageUrl(),
            'currentPage' => $this->getCurrentPage(),
            'perPageCount' => $this->getItemsPerPage(),
            'total' => $this->getTotalAmount(),
            'pageNumbers' => $this->getPageNumbers()
        );
    }
public function toArray()
    {
        return array(
            'firstPage' => $this->getFirstPage(),
            'lastPage' => $this->getLastPage(),
            'offset' => $this->countOffset(),
            'summary' => $this->getSummary(),
            'hasPages' => $this->hasPages(),
            'hasAdapter' => $this->hasAdapter(),
            'hasNextPage' => $this->hasNextPage(),
            'hasPreviousPage' => $this->hasPreviousPage(),
            'nextPage' => $this->getNextPage(),
            'previousPage' => $this->getPreviousPage(),
            'nextPageUrl' => $this->getNextPageUrl(),
            'previousPageUrl' => $this->getPreviousPageUrl(),
            'currentPage' => $this->getCurrentPage(),
            'perPageCount' => $this->getItemsPerPage(),
            'total' => $this->getTotalAmount(),
            'pageNumbers' => $this->getPageNumbers()
        );
    }
public function toArray ( ) { return array ( 'firstPage' => $ this -> getFirstPage ( ) , 'lastPage' => $ this -> getLastPage ( ) , 'offset' => $ this -> countOffset ( ) , 'summary' => $ this -> getSummary ( ) , 'hasPages' => $ this -> hasPages ( ) , 'hasAdapter' => $ this -> hasAdapter ( ) , 'hasNextPage' => $ this -> hasNextPage ( ) , 'hasPreviousPage' => $ this -> hasPreviousPage ( ) , 'nextPage' => $ this -> getNextPage ( ) , 'previousPage' => $ this -> getPreviousPage ( ) , 'nextPageUrl' => $ this -> getNextPageUrl ( ) , 'previousPageUrl' => $ this -> getPreviousPageUrl ( ) , 'currentPage' => $ this -> getCurrentPage ( ) , 'perPageCount' => $ this -> getItemsPerPage ( ) , 'total' => $ this -> getTotalAmount ( ) , 'pageNumbers' => $ this -> getPageNumbers ( ) ) ; }
Returns current state as array representation

@return array
Returns current state as array representation