定制 heristop/propel-senchagridable-behavior 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

heristop/propel-senchagridable-behavior

Composer 安装命令:

composer require heristop/propel-senchagridable-behavior

包简介

Propel behavior to automatically add filters for Sencha / ExtJS grids

README 文档

README

Installation

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

propel.behavior.senchagridable.class = path.to.SenchagridableBehavior

Or use composer adding the requirement below:

{
    "require": {
        "heristop/propel-senchagridable-behavior": "*"
    }
}

Usage

Add this line to your schema.xml:

<behavior name="senchagridable" />

The Behavior will add several methods to the Query class:

public function paginateGrid($params)
public function addGridSortQuery($params)
public function addGridFiltersQuery($params)

The variable $params contains the parameters retrieved from the request:

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

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固