classes/Fields/Listing.php
protected function perPage()
    {
        // If the user specified a limit, use it
        if ($this->take) {
            return $this->take;
        }

        // If a sidebar, use the default
        if ($this->layout == 'sidebar') {
            $name = $this->controller_name;

            return $name::$per_sidebar;
        }

        // Else, use the controller's pagination logic
        return $this->controller->perPage();
    }
protected function perPage()
    {
        // If the user specified a limit, use it
        if ($this->take) {
            return $this->take;
        }

        // If a sidebar, use the default
        if ($this->layout == 'sidebar') {
            $name = $this->controller_name;

            return $name::$per_sidebar;
        }

        // Else, use the controller's pagination logic
        return $this->controller->perPage();
    }
protected function perPage ( ) { // If the user specified a limit, use it if ( $ this -> take ) { return $ this -> take ; } // If a sidebar, use the default if ( $ this -> layout == 'sidebar' ) { $ name = $ this -> controller_name ; return $ name :: $ per_sidebar ; } // Else, use the controller's pagination logic return $ this -> controller -> perPage ( ) ; }
Get the amount per page be looking at a number of different sources

@return int The amount
Get the amount per page be looking at a number of different sources