Piwik\Plugins\SitesManager\API::getNumWebsitesToDisplayPerPage PHP Method

getNumWebsitesToDisplayPerPage() public method

For example this is used in the All Websites Dashboard, in the Website Selector etc. If multiple websites are shown somewhere, one should request this method to detect how many websites should be shown per page when using paging. To use paging is always recommended since some installations have thousands of websites.
    public function getNumWebsitesToDisplayPerPage()
    {
        Piwik::checkUserHasSomeViewAccess();
        return SettingsPiwik::getWebsitesCountToDisplay();
    }