2017 © Pedro PelĂĄez
 

library propel-senchagridable-behavior

Propel behavior to automatically add filters for Sencha / ExtJS grids

image

heristop/propel-senchagridable-behavior

Propel behavior to automatically add filters for Sencha / ExtJS grids

  • Friday, February 7, 2014
  • by heristop
  • Repository
  • 1 Watchers
  • 2 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SenchagridableBehavior

Installation

Download the SenchagridableBehavior.php file in src/, put it somewhere on your project, then add the following line to your propel.ini:, (*1)

``` ini propel.behavior.senchagridable.class = path.to.SenchagridableBehavior, (*2)


Or use composer adding the requirement below: ``` js { "require": { "heristop/propel-senchagridable-behavior": "*" } }

Usage

Add this line to your schema.xml:, (*3)

``` xml , (*4)


The Behavior will add several methods to the Query class: ``` php public function paginateGrid($params) public function addGridSortQuery($params) public function addGridFiltersQuery($params)

The variable $params contains the parameters retrieved from the request:, (*5)

php $request = $this->get('request'); $posts = PostQuery::create()->paginateGrid($request->query);, (*6)

The Versions

07/02 2014

dev-master

9999999-dev

Propel behavior to automatically add filters for Sencha / ExtJS grids

  Sources   Download

MIT

by Alexandre Mogère

filter grid behavior propel extjs sencha

07/02 2014

1.0.0

1.0.0.0

Propel behavior to automatically add filters for Sencha / ExtJS grids

  Sources   Download

MIT

by Alexandre Mogère

filter grid behavior propel extjs sencha