Classes/Fusion/PaginationArrayImplementation.php
protected function addItemToTheEndOfPageArray($pageArray, $page, $type)
    {
        $pageArray[] = [
            'page' => $page,
            'label' => $this->paginationConfig['labels'][$type],
            'type' => $type
        ];

        return $pageArray;
    }
protected function addItemToTheEndOfPageArray($pageArray, $page, $type)
    {
        $pageArray[] = [
            'page' => $page,
            'label' => $this->paginationConfig['labels'][$type],
            'type' => $type
        ];

        return $pageArray;
    }
protected function addItemToTheEndOfPageArray ( $ pageArray , $ page , $ type ) { $ pageArray [ ] = [ 'page' => $ page , 'label' => $ this -> paginationConfig [ 'labels' ] [ $ type ] , 'type' => $ type ] ; return $ pageArray ; }
add a item to the end of the page array

@param array $pageArray
@param integer $page
@param string $type
@return array
add a item to the end of the page array