PHP code example of met_mw / spagination
1. Go to this page and download the library: Download met_mw/spagination library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
met_mw / spagination example snippets
$Pagination = new Pagination();
$Pagination->setCount(100)
->setCountOnPage(10)
->setCurrentPageNumber(5)
->render();
$Pagination = new Pagination();
$paginationHTML = $Pagination->setCount(100)
->setCountOnPage(10)
->setCurrentPageNumber(5)
->get();