GithubHelp home page GithubHelp logo

albertboada / cakephp-filter-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lecterror/cakephp-filter-plugin

0.0 1.0 0.0 211 KB

A general filtering/search plugin for CakePHP apps

Home Page: http://lecterror.com/

License: GNU General Public License v3.0

PHP 100.00%

cakephp-filter-plugin's Introduction

CakePHP Filter Plugin

About

Filter is a CakePHP plugin which enables you to create filtering forms for your data in a very fast and simple way, without getting in the way of paging, sorting and other "standard" things when displaying data. It also remembers the filter conditions in a session, but this can be turned off if undesirable.

It also features callback methods for further search refinement where necessary.

Usage

First, obtain the plugin. If you're using Git, run this while in your app folder:

git submodule add git://github.com/lecterror/cakephp-filter-plugin.git plugins/filter
git submodule init
git submodule update

Or visit http://github.com/lecterror/cakephp-filter-plugin and download the plugin manually to your app/plugins/filter/ folder.

To use the plugin, you need to tell it which model to filter and which fields to use. For a quick tutorial, visit http://lecterror.com/articles/view/cakephp-generic-filter-plugin

I know, I should probably write an advanced usage article. For now, just deal with it.

Contributing

If you'd like to contribute, clone the source on GitHub, make your changes and send me a pull request. If you don't know how to fix the issue or you're too lazy to do it, create a ticket and we'll see what happens next.

Important: If you're sending a patch, follow the coding style! If you don't, there is a great chance I won't accept it. For example:

// bad
function drink() {
	return false;
}

// good
function drink()
{
	return true;
}

Licence

Multi-licensed under:

cakephp-filter-plugin's People

Contributors

albertboada avatar lecterror avatar

Watchers

 avatar

cakephp-filter-plugin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.