DBConn
__construct
([ $user = NULL], [ $pass = NULL], [ $schema = NULL], [ $host = NULL])
-
$user
-
$pass
-
$schema
-
$host
void
allowCreate
([ $value = true])
void
columnComment
([ $table = NULL], [ $column = NULL])
void
columnDefault
([ $table = NULL], [ $column = NULL])
void
columnType
([ $table = NULL], [ $column = NULL])
void
count
( $table, [ $where = NULL])
void
createTable
([ $table = ''], [ $sql = ''])
void
delete
( $table, $rows)
void
getColumns
( $table)
void
hasColumn
([ $table = NULL], [ $column = false])
void
hasTable
([ $table = NULL])
void
insert
( $table, $values, [ $insertUserID = NULL])
-
$table
-
$values
-
$insertUserID
void
join
( $tables, [ $columns = array('*')], [ $where = NULL], [ $sort = NULL], [ $limitUserID = NULL])
-
$tables
-
$columns
-
$where
-
$sort
-
$limitUserID
void
load
( &$obj, [ $ID = NULL], [ $table = NULL])
void
populate
( &$obj, $values)
void
save
( &$obj, [ $table = NULL])
void
select
( $table, [ $columns = NULL], [ $where = NULL], [ $sort = NULL], [ $limit = NULL], [ $offset = NULL])
-
$table
-
$columns
-
$where
-
$sort
-
$limit
-
$offset
void
selectID
( $table, $ID, [ $columns = NULL], [ $limitUserID = NULL])
-
$table
-
$ID
-
$columns
-
$limitUserID
void
shell
([ $command = NULL])