Top Level :: Database

Package Information: DB_Table

This package is not maintained, if you would like to take over please go to this page.
» Summary » License
An object oriented interface to, and model of, a database. Integrates with HTML_QuickForm. New BSD
» Current Release » Bug Summary
1.5.6 (stable) was released on 2008-12-25 by wiesemann (Changelog)
Easy Install

Not sure? Get more info.

pear install DB_Table

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/DB_Table

  • Package Maintenance Rank: 147 of 225 packages with open bugs
  • Number of open bugs: 1 (51 total bugs)
  • Average age of open bugs: 5197 days
  • Oldest open bug: 5197 days

Report a new bug to DB_Table
» Description
The DB_Table package provides an object oriented interface to a database.

Each instance of the core DB_Table class contains the schema for a table, defined using abstract data types. The class provides a portable api for insert, update, delete, and select SQL commands, and can validate data types upon insertion and updating. It provides methods to automatically create or verify a database table. DB_Table also provides methods (using PEAR HTML_QuickForm) to generate input forms that match the column definitions.

Each instance of the DB_Table_Database class contains a model of relationships between tables in a database, in which each table is represented by an instance of DB_Table. DB_Table_Database provides a method for automatic construction of join conditions for inner joins involving any number of tables, optional php validation of foreign key validity, and optional php emulation of actions triggered on delete or update of referenced rows, such as cascading deletes.

The DB_Table_Generator class auto-generates the php code necessary to create an interface to an existing database.
» Maintainers » More Information

Packages that depend on DB_Table

Dependencies for DB_Table