We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pager
Inherit to Page class should be fine.
Page
class Page extends File { public function pages() {} } class Pager extends Page { public function __construct(string $path = null, array $lot = []) {} public function next() {} public function parent() {} public function prev() {} }
namespace Pager { class Page extends \Pager { public function __construct(string $path = null, array $lot = []) {} public function next() {} public function parent() {} public function prev() {} } class Pages extends \Pager { public function __construct(string $path = null, array $lot = []) {} public function next() {} public function parent() {} public function prev() {} } }
The text was updated successfully, but these errors were encountered:
class Pager extends Genome { public $path; public function __construct(string $path = null, array $lot = []) { if (is_dir($path)) {} // Pagination for pages if (is_file($path)) {} // Pagination for page } }
// Pagination for page $pager = new Pager('.\lot\page\article\lorem-ipsum.page'); // Pagination for pages $pager = new Pager('.\lot\page\article', [ 'part' => 1, 'route' => $url->path ]);
Sorry, something went wrong.
2686f08
We have removed the pagination for single page as well 😈 This is how you would use the Pager class along with Pages class:
Pages
$pager = Pager::from($pages = Pages::from($folder)); $pager = $pager->chunk(25, 0); $pages = $pages->chunk(25, 0);
No branches or pull requests
Inherit to
Page
class should be fine.The text was updated successfully, but these errors were encountered: