PHP Class buki\Pdox

Datei anzeigen Open project: izniburak/pdox

Public Properties

Property Type Description
$pdo

Public Methods

Method Description
__construct ( array $config )
__destruct ( )
avg ( $field, $name = null )
between ( $field, $value1, $value2, $type = '', $and_or = 'AND' )
cache ( $time )
count ( $field, $name = null )
delete ( )
error ( )
escape ( $data )
fullOuterJoin ( $table, $field1, $op = '', $field2 = '' )
get ( $type = false )
getAll ( $type = false )
getQuery ( )
groupBy ( $groupBy )
grouped ( Closur\Closure $obj )
having ( $field, $op = null, $val = null )
in ( $field, array $keys, $type = '', $and_or = 'AND' )
innerJoin ( $table, $field1, $op = '', $field2 = '' )
insert ( $data )
insertId ( )
join ( $table, $field1 = null, $op = null, $field2 = null, $type = '' )
leftJoin ( $table, $field1, $op = '', $field2 = '' )
leftOuterJoin ( $table, $field1, $op = '', $field2 = '' )
like ( $field, $data, $type = '', $and_or = 'AND' )
limit ( $limit, $limitEnd = null )
max ( $field, $name = null )
min ( $field, $name = null )
notBetween ( $field, $value1, $value2 )
notIn ( $field, array $keys )
notLike ( $field, $data )
notWhere ( $where, $op = null, $val = null )
numRows ( )
orBetween ( $field, $value1, $value2 )
orIn ( $field, array $keys )
orLike ( $field, $data )
orNotBetween ( $field, $value1, $value2 )
orNotIn ( $field, array $keys )
orNotLike ( $field, $data )
orNotWhere ( $where, $op = null, $val = null )
orWhere ( $where, $op = null, $val = null )
orderBy ( $orderBy, $order_dir = null )
query ( $query, $all = true, $array = false )
queryCount ( )
rightJoin ( $table, $field1, $op = '', $field2 = '' )
rightOuterJoin ( $table, $field1, $op = '', $field2 = '' )
select ( $fields )
sum ( $field, $name = null )
table ( $table )
update ( $data )
where ( $where, $op = null, $val = null, $type = '', $and_or = 'AND' )

Private Methods

Method Description
reset ( )

Method Details

__construct() public method

public __construct ( array $config )
$config array

__destruct() public method

public __destruct ( )

avg() public method

public avg ( $field, $name = null )

between() public method

public between ( $field, $value1, $value2, $type = '', $and_or = 'AND' )

cache() public method

public cache ( $time )

count() public method

public count ( $field, $name = null )

delete() public method

public delete ( )

error() public method

public error ( )

escape() public method

public escape ( $data )

fullOuterJoin() public method

public fullOuterJoin ( $table, $field1, $op = '', $field2 = '' )

get() public method

public get ( $type = false )

getAll() public method

public getAll ( $type = false )

getQuery() public method

public getQuery ( )

groupBy() public method

public groupBy ( $groupBy )

grouped() public method

public grouped ( Closur\Closure $obj )
$obj Closur\Closure

having() public method

public having ( $field, $op = null, $val = null )

in() public method

public in ( $field, array $keys, $type = '', $and_or = 'AND' )
$keys array

innerJoin() public method

public innerJoin ( $table, $field1, $op = '', $field2 = '' )

insert() public method

public insert ( $data )

insertId() public method

public insertId ( )

join() public method

public join ( $table, $field1 = null, $op = null, $field2 = null, $type = '' )

leftJoin() public method

public leftJoin ( $table, $field1, $op = '', $field2 = '' )

leftOuterJoin() public method

public leftOuterJoin ( $table, $field1, $op = '', $field2 = '' )

like() public method

public like ( $field, $data, $type = '', $and_or = 'AND' )

limit() public method

public limit ( $limit, $limitEnd = null )

max() public method

public max ( $field, $name = null )

min() public method

public min ( $field, $name = null )

notBetween() public method

public notBetween ( $field, $value1, $value2 )

notIn() public method

public notIn ( $field, array $keys )
$keys array

notLike() public method

public notLike ( $field, $data )

notWhere() public method

public notWhere ( $where, $op = null, $val = null )

numRows() public method

public numRows ( )

orBetween() public method

public orBetween ( $field, $value1, $value2 )

orIn() public method

public orIn ( $field, array $keys )
$keys array

orLike() public method

public orLike ( $field, $data )

orNotBetween() public method

public orNotBetween ( $field, $value1, $value2 )

orNotIn() public method

public orNotIn ( $field, array $keys )
$keys array

orNotLike() public method

public orNotLike ( $field, $data )

orNotWhere() public method

public orNotWhere ( $where, $op = null, $val = null )

orWhere() public method

public orWhere ( $where, $op = null, $val = null )

orderBy() public method

public orderBy ( $orderBy, $order_dir = null )

query() public method

public query ( $query, $all = true, $array = false )

queryCount() public method

public queryCount ( )

rightJoin() public method

public rightJoin ( $table, $field1, $op = '', $field2 = '' )

rightOuterJoin() public method

public rightOuterJoin ( $table, $field1, $op = '', $field2 = '' )

select() public method

public select ( $fields )

sum() public method

public sum ( $field, $name = null )

table() public method

public table ( $table )

update() public method

public update ( $data )

where() public method

public where ( $where, $op = null, $val = null, $type = '', $and_or = 'AND' )

Property Details

$pdo public_oe property

public $pdo