2017 © Pedro Peláez
 

library table-admin

List record for backend

image

virutmath/table-admin

List record for backend

  • Thursday, July 21, 2016
  • by virutmath
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

table-admin

  • Stand-alone TableAdmin for project
  • Using Bootstrap style, iCheck, select2 class
  • Support pagination for table

Usage, (*1)

$config = [
    'show' => [
        'id' => true
    ],
    'formatDate' => 'd/m/Y',
    'defaultOptionLabel' => '',
    'pageSize' => 30,
    'module'=>'',
    'idField'=>'id',
];
$categories = [
  1=>'Category 1',
  2=>'Category 2'
];
$listRecord = [
  [
    'id'=>1,
    'name'=>'Jame Doe',
    'category_id'=>1
    'active'=>1
  ],
  [
    'id'=>2,
    'name'=>'Joe Doe',
    'category_id'=>2
    'active'=>0
  ]
];

$table = new TableAdmin($listRecord,$config);
$table->column('id','ID record','text');
$table->columnDropdown('category_id','Category',$categories);
$table->column('active','Active','checkbox');
$table->column('id','Edit','edit');
$table->column('id','Delete','delete');
echo $table->render();

The Versions

21/07 2016

dev-master

9999999-dev https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

 

by Kien Trung Dang

admin tool table record generate table

21/07 2016

1.0.4

1.0.4.0 https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

 

by Kien Trung Dang

admin tool table record generate table

13/07 2016

1.0.3

1.0.3.0 https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

 

by Kien Trung Dang

admin tool table record generate table

07/07 2016

1.0.2

1.0.2.0 https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Kien Trung Dang

admin tool table record generate table

04/07 2016

1.0.1

1.0.1.0 https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Kien Trung Dang

admin tool table record generate table

01/07 2016

1.0.0

1.0.0.0 https://github.com/virutmat/table-admin

List record for backend

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Kien Trung Dang

admin tool table record generate table