protected function getSetupPerPageOptions()
    {
        $perPageOptions = [20, 40, 80, 100, 120];
        if (!in_array($this->recordsPerPage, $perPageOptions)) {
            $perPageOptions[] = $this->recordsPerPage;
        }

        sort($perPageOptions);
        return $perPageOptions;
    }
protected function getSetupPerPageOptions()
    {
        $perPageOptions = [20, 40, 80, 100, 120];
        if (!in_array($this->recordsPerPage, $perPageOptions)) {
            $perPageOptions[] = $this->recordsPerPage;
        }

        sort($perPageOptions);
        return $perPageOptions;
    }
protected function getSetupPerPageOptions ( ) { $ perPageOptions = [ 20 , 40 , 80 , 100 , 120 ] ; if ( ! in_array ( $ this -> recordsPerPage , $ perPageOptions ) ) { $ perPageOptions [ ] = $ this -> recordsPerPage ; } sort ( $ perPageOptions ) ; return $ perPageOptions ; }
Returns an array of allowable records per page.
Returns an array of allowable records per page .