Skip to content
This repository

A filtering plugin for CakePHP

branch: 1.3

This branch is 3 commits ahead and 14 commits behind 2.x

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 controllers
Octocat-spinner-32 tests
Octocat-spinner-32 views
Octocat-spinner-32 README.textile
README.textile

Another Filter Plugin for CakePHP

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

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

Something went wrong with that request. Please try again.