leandrorodrigues / auto-filter
AutoFilter plugin for CakePHP
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-04-27 16:37:02 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']);
}
}