Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

sitedyno/Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Another Filter Plugin for CakePHP

This plugin will make searching paginated lists in your CakePHP application easy. This branch is for CakePHP 2.0+

License

This plugin is licensed under the MIT license

Installation

  1. Navigate to your plugins directory and use the following command:
    git clone git://github.com/sitedyno/Filter.git Filter
  2. Add the filter component to the components array of the controller you want to filter on:
    var $components = array('Filter.Filter');
  3. Add the filter helper to the helpers array of the controller you want to filter on:
    var $helpers = array('FIlter.Filter');
  4. Generate a filter form (table row) in your view:
    <?php echo $this->Filter->tableRowForm('Post', array('Post.id', 'Post.title', 'Post.content'));?>
  5. For advanced configuration see: Configuration

Links

About

A filtering plugin for CakePHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages