Documentation

Xcrud_db
in package

Database driver; f0ska xCRUD v.1.6.20; 06/2014

Table of Contents

$result  : mixed
$_instance  : mixed
$connect  : mixed
$dbencoding  : mixed
$dbhost  : mixed
$dbname  : mixed
$dbpass  : mixed
$dbuser  : mixed
$magic_quotes  : mixed
escape()  : mixed
escape_like()  : mixed
get_instance()  : mixed
insert_id()  : mixed
query()  : mixed
result()  : mixed
row()  : mixed
__construct()  : mixed
error()  : mixed

Properties

$_instance

private static mixed $_instance = array()

$magic_quotes

private mixed $magic_quotes

Methods

escape()

public escape(mixed $val[, mixed $not_qu = false ][, mixed $type = false ][, mixed $null = false ][, mixed $bit = false ]) : mixed
Parameters
$val : mixed
$not_qu : mixed = false
$type : mixed = false
$null : mixed = false
$bit : mixed = false
Return values
mixed

escape_like()

public escape_like(mixed $val[, mixed $pattern = array('%', '%') ]) : mixed
Parameters
$val : mixed
$pattern : mixed = array('%', '%')
Return values
mixed

get_instance()

public static get_instance([mixed $params = false ]) : mixed
Parameters
$params : mixed = false
Return values
mixed

insert_id()

public insert_id() : mixed
Return values
mixed

query()

public query([mixed $query = '' ]) : mixed
Parameters
$query : mixed = ''
Return values
mixed

result()

public result() : mixed
Return values
mixed

row()

public row() : mixed
Return values
mixed

__construct()

private __construct(mixed $dbuser, mixed $dbpass, mixed $dbname, mixed $dbhost, mixed $dbencoding) : mixed
Parameters
$dbuser : mixed
$dbpass : mixed
$dbname : mixed
$dbhost : mixed
$dbencoding : mixed
Return values
mixed

error()

private error([mixed $text = 'Error!' ]) : mixed
Parameters
$text : mixed = 'Error!'
Return values
mixed

Search results