Functions

Connection function

Query(string|object|array $params = '') : \Query_Builder

Parameters

$params

stringobjectarray

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

Parameters

$path

string

Multibyte-safe trim function

mb_trim(string $string) : string

Parameters

$string

string

Returns

string

Functions

Load query classes

query_autoload(string $class) 
subpackage Core
codeCoverageIgnore

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 »

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

Table_Builder

Abstract class defining database / table creation methods

« More »