\

Namespaces

Query

Constants

QBASE_PATH

QBASE_PATH

Reference to root path

QDRIVER_PATH

QDRIVER_PATH

Path to driver classes

Functions

do_include()

do_include(string $path) : void

Bulk directory loading workaround for use with array_map and glob

Parameters

string $path

mb_trim()

mb_trim(string $string) : string

Multibyte-safe trim function

Parameters

string $string

Returns

string

db_filter()

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

Filter out db rows into one array

Parameters

array $array
mixed $index

Returns

array

Query()

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

Connection function

Send an array or object as connection parameters to create a connection. If the array or object has an 'alias' parameter, passing that string to this function will return that connection. Passing no parameters returns the last connection created.

Parameters

string|object|array $params

Returns

\Query\Query_Builder|null

query_autoload()

query_autoload(string $class)

Load query classes

Parameters

string $class