Phang  2.1
 All Classes Files Functions Variables Pages
Functions
db.php File Reference

Functions to access and update database objects. More...

Functions

 db_get_unique ($options=array())
 Gets a string unique to a record;.
 db_get ($table_name, $id=null)
 gets a single record from a model
 db_first ($table_name, $where=array(), $order_by=array(), $limit=array())
 gets a single record from a model
 db_all ($table_name, $where=array(), $order_by=array(), $limit=array())
 gets multiple records from a model
 db_update_value ($value, $db_type='')
 Prepares a value to be input into the database.

Detailed Description

Functions to access and update database objects.

Author:
James Tierney / Fifteen Digital Developers Ltd