magd-kudama/datatables 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

magd-kudama/datatables

Composer 安装命令:

composer require magd-kudama/datatables

包简介

README 文档

README

Plugin to work with Datatables Jquery Plugin (server-side).

It has bees specially developed to work with Laravel 4 (requires an instance of the query builder, and framework/support).

It uses the same public methods of bllim/laravel-datatables-bundle Laravel3 bundle.

####Usage Example

$q = DB::table('user')->join('role', 'user.id', '=', 'role.user_id')
		->select('user.id', 'user.name uname', 'role.name rname');
return Datatables::of($q)->make();

####Other configurations (Laravel 4)

Add the service provider to app/config/app.php

'providers' => array(
	...
	'MagdKudama\Datatables\DatatablesServiceProvider',
	...
),

And add the alias to app/config/app.php

'aliases' => array(
	...
	'Datatables' => 'MagdKudama\Datatables\Facades\Datatables',
	...
),

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2013-02-03