Functions

Connection function

Query(mixed $params = '') : \Query_Builder
subpackage Core

Parameters

$params

mixed

Returns

Filter out db rows into one array

db_filter(array $array, mixed $index) : array
subpackage Core

Parameters

$array

array

$index

mixed

Returns

array

Bulk directory loading workaround for use with array_map and glob

do_include(string $path) : void
subpackage Core

Parameters

$path

string

Multibyte-safe trim function

mb_trim(string $string) : string
subpackage Core

Parameters

$string

string

Returns

string

Load query classes

query_autoload(string $class) 
subpackage Core

Parameters

$class

string

Classes and interfaces

BadDBDriverException

Generic exception for bad drivers

« More »

Connection_Manager

Connection manager class to manage connections for the Query method

« More »

Constants

 

Reference to root path

QBASE_PATH = dirname(__FILE__) . '/' 
subpackage Core
 

Path to driver classes

QDRIVER_PATH = QBASE_PATH . 'drivers/' 
subpackage Core

Classes and interfaces

Driver_Interface

PDO Interface to implement for database drivers

« More »

SQL_Interface

parent for database manipulation subclasses

« More »

Abstract_Driver

Base Database class

« More »

Abstract_SQL

parent for database manipulation subclasses

« More »

DB_Util

Abstract class defining database / table creation methods

« More »

Firebird

Firebird Database class

« More »

Firebird_Result

Firebird result class to emulate PDOStatement Class - only implements data-fetching methods

« More »

Firebird_SQL

Firebird Specific SQL

« More »

Firebird_Util

Firebird-specific backup, import and creation methods

« More »

MySQL

MySQL specific class

« More »

MySQL_SQL

MySQL specifc SQL

« More »

MySQL_Util

MySQL-specific backup, import and creation methods

« More »

PgSQL

PostgreSQL specifc class

« More »

PgSQL_SQL

PostgreSQL specifc SQL

« More »

PgSQL_Util

Posgres-specific backup, import and creation methods

« More »

SQLite

SQLite specific class

« More »

SQLite_SQL

SQLite Specific SQL

« More »

SQLite_Util

SQLite-specific backup, import and creation methods

« More »

Classes and interfaces

Query_Builder_Interface

Interface defining the Query Builder class

« 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 »

Classes and interfaces

Table_Builder_Interface

Abstract class defining database / table creation methods

« More »