src/Frontend/Modules/Commerce/Engine/Pagination.php
/**
     * Render the pagination in an array.
     *
     * @return array
     */
Render the pagination in an array.
@return array
Render the pagination in an array . @return array
public function render()
    {
        return [
            'currentPage' => $this->getCurrentPage(),
            'pageCount' => $this->getPageCount(),
            'pagesLeft' => $this->getPagesLeft(),
            'pagesMiddle' => $this->getPagesMiddle(),
            'pagesRight' => $this->getPagesRight(),
            'leftEllipses' => $this->useLeftEllipses(),
            'rightEllipses' => $this->useRightEllipses(),
            'showPrevious' => $this->showPrevious(),
            'showNext' => $this->showNext(),
            'previousNumber' => $this->getPreviousNumber(),
            'nextNumber' => $this->getNextNumber(),
            'urlPrevious' => $this->getUrlPrevious(),
            'urlNext' => $this->getUrlNext(),
            'baseUrl' => $this->base_url,
        ];
    }
public function render ( ) { return [ 'currentPage' => $ this -> getCurrentPage ( ) , 'pageCount' => $ this -> getPageCount ( ) , 'pagesLeft' => $ this -> getPagesLeft ( ) , 'pagesMiddle' => $ this -> getPagesMiddle ( ) , 'pagesRight' => $ this -> getPagesRight ( ) , 'leftEllipses' => $ this -> useLeftEllipses ( ) , 'rightEllipses' => $ this -> useRightEllipses ( ) , 'showPrevious' => $ this -> showPrevious ( ) , 'showNext' => $ this -> showNext ( ) , 'previousNumber' => $ this -> getPreviousNumber ( ) , 'nextNumber' => $ this -> getNextNumber ( ) , 'urlPrevious' => $ this -> getUrlPrevious ( ) , 'urlNext' => $ this -> getUrlNext ( ) , 'baseUrl' => $ this -> base_url , ] ; }
Render the pagination in an array.
Render the pagination in an array .