2017 © Pedro Peláez
 

cakephp-plugin table

CakePHP Table plugin helps you to create table via CakePHP helper

image

lubos/table

CakePHP Table plugin helps you to create table via CakePHP helper

  • Saturday, March 28, 2015
  • by LubosRemplik
  • Repository
  • 1 Watchers
  • 1 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CakePHP Table

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A CakePHP 3.x plugin for creating Html tables, (*2)

Installation

composer require lubos/table

Load plugin in bootstrap.php file, (*3)

Plugin::load('Lubos/Table');

Usage

In your controller ````php public $helpers = [ 'Lubos/Table.Table' ];, (*4)


In your view ```php $cells = [ ['cell 00', 'cell 01', 'cell02'], ['cell 10', 'cell 11', 'cell12'], ['cell 20', 'cell 21', 'cell22'] ]; $this->Table->create(); $this->Table ->startRow(['group' => 'head', 'class' => 'header']) ->header('header 1') ->header('header 2') ->header('header 3') ->endRow(); foreach ($cells as $row) { $this->Table->startRow(); foreach ($row as $cell) { $this->Table->cell($cell); } $this->Table->endRow(); } echo $this->Table->display();

Bugs & Features

For bugs and feature requests, please use the issues section of this repository., (*5)

If you want to help, pull requests are welcome.
Please follow few rules:, (*6)

The Versions

28/03 2015

dev-master

9999999-dev https://github.com/LubosRemplik/CakePHP-Table

CakePHP Table plugin helps you to create table via CakePHP helper

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin cakephp table

28/03 2015

0.1.0

0.1.0.0 https://github.com/LubosRemplik/CakePHP-Table

CakePHP Table plugin helps you to create table via CakePHP helper

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin cakephp table