2017 © Pedro Peláez
 

library chtmltable

PHP classes for making htmltable from databasetable

image

jovis/chtmltable

PHP classes for making htmltable from databasetable

  • Saturday, February 20, 2016
  • by johannaand
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

chtmltable

PHP classes for simply output an HTML-table from a database table., (*1)

The package exists of a controller class, TableController, a simple class CHTMLTable and a DatabaseModel base class. The controller receives a databasemodel object, and uses CHTMLTable to create an html table string from it. There are also a view-file, a front-controller and a model class to be used for testing the package. The class CHTMLTable can also be used separately to make an html table-string from an array., (*2)

The packages works with ANAX-MVC Framework, https://github.com/mosbth/Anax-MVC, (*3)

In your composer.json-file, a way to install the package is by adding these lines:, (*4)

 "require": {
        "php": ">=5.4",
        "jovis/chtmltable": "@dev"
    },
 "minimum-stability" : "dev",
 "prefer-stable" : true

Before using the package: * The package uses the package mos/cdatabase, and the database config-file need to be changed and moved to the right place in the Anax-MVC. See cdatabase documentation at http://dbwebb.se/opensource/cdatabase for more information. * Move front-controller file table.php from jovis/chtmltable/webroot to Anax webroot * Move chtmltable/view/list-all.tpl.php to a new directory Anax app/view/table/, (*5)

In your composer.json-file, added those lines to make the package work:, (*6)

 "require": {
        "php": ">=5.4",
        "jovis/chtmltable": "@dev"
    },
 "minimum-stability" : "dev",
 "prefer-stable" : true

The front-controller file uses a controller action to initiate the database table for testing., (*7)

This package is created as an assignment at a course in PHP MVC Framework at Blekingen Tekniska Högskola., (*8)

Scrutinizer Code Quality Code Coverage Build Status, (*9)

The Versions

20/02 2016

dev-master

9999999-dev

PHP classes for making htmltable from databasetable

  Sources   Download

MIT

The Requires

 

by Johanna Andersson

micro framework mvc module

17/12 2015

v1.0.2

1.0.2.0

PHP classes for making htmltable from databasetable

  Sources   Download

MIT

The Requires

 

by Johanna Andersson

micro framework mvc module

15/12 2015

v1.0.1

1.0.1.0

PHP classes for making htmltable from databasetable

  Sources   Download

MIT

The Requires

 

by Johanna Andersson

micro framework mvc module

15/12 2015

v1.0

1.0.0.0

PHP classes for making htmltable from databasetable

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Johanna Andersson

micro framework mvc module