Classes/Fusion/PaginationArrayImplementation.php
protected function getPageArray()
    {
        $range = \range($this->firstPage, $this->lastPage);
        $pageArray = [];

        foreach ($range as $page) {
            $pageArray[] = [
                'page' => $page,
                'label' => $page,
                'type' => 'page'
            ];
        }

        return $pageArray;
    }
protected function getPageArray()
    {
        $range = \range($this->firstPage, $this->lastPage);
        $pageArray = [];

        foreach ($range as $page) {
            $pageArray[] = [
                'page' => $page,
                'label' => $page,
                'type' => 'page'
            ];
        }

        return $pageArray;
    }
protected function getPageArray ( ) { $ range = \ range ( $ this -> firstPage , $ this -> lastPage ) ; $ pageArray = [ ] ; foreach ( $ range as $ page ) { $ pageArray [ ] = [ 'page' => $ page , 'label' => $ page , 'type' => 'page' ] ; } return $ pageArray ; }
get an array of pages to display

@return array
get an array of pages to display