2017 © Pedro PelĂĄez
 

library dbtable

PHP classes for database handling upon PDO

image

roka/dbtable

PHP classes for database handling upon PDO

  • Wednesday, December 3, 2014
  • by roka13
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dbtable

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

Use it to retrieve information of datatables in a Database. PHP classes for database handling upon PDO., (*2)

License

This software is free software and carries a MIT license., (*3)

History

v 2 Second Edition *Completed with testcases and changed localisation of source-files *See description below:, (*4)

v 1 First edition *Based upon mos/database and mos/cform package. *The intention is to explore all datafiles in a database., (*5)

How to use Cdbtable

Copy the map Dbtables in vendor/roka/AnaxDbtable/Dbtable/src to your app/src map
and also the map Dbtables in vendor/roka/AnaxDbtable/Dbtable/view to your app/view map, (*6)

Urgent Don't use the old src-map ! It is only intended for test-cases., (*7)

Use inside Anax: Insert to your Index-file in webroot, (*8)

$di->set('DbtablesController', function() use ($di) { $controll = new \Roka\Dbtables\DbtablesController(); $controll->setDI($di); return $controll; });, (*9)

You must have a database connection open ie like this, (*10)

$di->setShared('db', function() { $db = new \Mos\Database\CDatabaseBasic(); // $db->setOptions(require ANAX_APP_PATH . 'config/config_mysql.php'); $db->setOptions(require ANAX_APP_PATH . 'config/config_sqlite.php'); $db->connect(); return $db; });, (*11)

You can use it from the browsner like the link, (*12)

/webroot/Dbtables/select, (*13)

 .  
..:  Copyright (c) 2014 Göran Karlsson rgoran.karlsson@teila.com

The Versions

03/12 2014

dev-master

9999999-dev

PHP classes for database handling upon PDO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Göran Karlsson

micro framework mvc module education