Functions
Connection function
Query(mixed $params = ''
) : \Query_Builder
Parameters
$params
mixed
Exceptions
Returns
Filter out db rows into one array
db_filter(array $array, mixed $index) : array
Parameters
$array
array
$index
mixed
Returns
array
Bulk directory loading workaround for use
with array_map and glob
do_include(string $path) : void
Multibyte-safe trim function
mb_trim(string $string) : string
Parameters
$string
string
Returns
string
Load query classes
query_autoload(string $class)
Classes and interfaces
idriver¶
PDO Interface to implement for database drivers
« More »
Constants
Reference to root path
QBASE_PATH = dirname(__FILE__) . '/'
Path to driver classes
QDRIVER_PATH = QBASE_PATH . 'drivers/'
Classes and interfaces
Firebird_Result¶
Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods
« More »
Firebird_Util¶
Firebird-specific backup, import and creation methods
« More »
MySQL_Util¶
MySQL-specific backup, import and creation methods
« More »
PgSQL_Util¶
Posgres-specific backup, import and creation methods
« More »
SQLite_Util¶
SQLite-specific backup, import and creation methods
« More »
Classes and interfaces
iDB_SQL¶
parent for database manipulation subclasses
« More »
iQuery_Builder¶
Interface defining the Query Builder class
« More »
Abstract_Driver¶
Base Database class
« More »
BadConnectionException¶
Generic exception for bad connection strings
« More »
BadDBDriverException¶
Generic exception for bad drivers
« More »
DB_Util¶
Abstract class defining database / table creation methods
« More »
Query_Builder¶
Convienience class for creating sql queries - also the class that
instantiates the specific db driver
« More »
Query_Parser¶
Utility Class to parse sql clauses for properly escaping identifiers
« More »