leandrorodrigues / auto-filter
There is no license information available for the latest version (dev-master) of this package.
AutoFilter plugin for CakePHP
Package info
github.com/leandrorodrigues/AutoFilter
Type:cakephp-plugin
pkg:composer/leandrorodrigues/auto-filter
dev-master
2015-09-12 12:44 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2026-03-29 02:37:59 UTC
README
Installation
You can install this plugin into your CakePHP application using composer
Exemplo de uso
class AdministradoresController extends AdminController
{
/**
* Index method
*
* @return void
*/
public function index()
{
$query = $this->AutoFilter->generateQuery();
$administradores = $this->paginate($query);
$this->set('administradores', $administradores);
$this->set('_serialize', ['administradores']);
}
}