src/GridFieldConfigurablePaginator.php
public function getPageSizesAsList()
    {
        $pageSizes = ArrayList::create();
        $perPage = $this->getItemsPerPage();
        foreach ($this->getPageSizes() as $pageSize) {
            $pageSizes->push(array(
                'Size' => $pageSize,
                'Selected' => $pageSize == $perPage
            ));
        }
        return $pageSizes;
    }
public function getPageSizesAsList()
    {
        $pageSizes = ArrayList::create();
        $perPage = $this->getItemsPerPage();
        foreach ($this->getPageSizes() as $pageSize) {
            $pageSizes->push(array(
                'Size' => $pageSize,
                'Selected' => $pageSize == $perPage
            ));
        }
        return $pageSizes;
    }
public function getPageSizesAsList ( ) { $ pageSizes = ArrayList :: create ( ) ; $ perPage = $ this -> getItemsPerPage ( ) ; foreach ( $ this -> getPageSizes ( ) as $ pageSize ) { $ pageSizes -> push ( array ( 'Size' => $ pageSize , 'Selected' => $ pageSize == $ perPage ) ) ; } return $ pageSizes ; }
Gets a list of page sizes for use in templates as a dropdown

@return ArrayList
Gets a list of page sizes for use in templates as a dropdown