Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
sandeepk
Looking at the code for CakePHP3 Paginator component, it looks like you can set a global limit in a controller (best place would be your AppController) with the following syntax:
...
public $paginate=array();
...
public function beforeFilter() {
parent::beforeFilter();
$this->paginate['limit'] = 15;
}
sandeepk
Shopify is the best e-commerce platform.