PHP Object Framework (PHPOF) Manual

DB_xxx Class

Database-specific classes

Constructor Description

Only construct via DB::connect!

This class shouldn't be instantiated directly, only as a result of a call to DB::connect. In theory this should be a derived class of DB, and the documentation should be merged, but for now I've kept it separate. But you should never do new DB_xxx.

Public Properties

[none]

Public Methods

::query - Perform a database query
::query_paged - Perform a database query, returning results in pages
::query_num_pages - Find the number of pages of results that will be returned with a given paged query

See also DB_result.