Class DBStatic

Description

Located in /library/dbstatic.class.php (line 19)


	
			
Variable Summary
static mixed $dbMaster
static mixed $dbObj
static mixed $SAFEMODE
Method Summary
void cache ([ $field = NULL], [ $value = NULL])
void column ( $table,  $column)
void columnComment ([ $table = NULL], [ $column = NULL])
void columnDefault ([ $table = NULL], [ $column = NULL])
void columnType ([ $table = NULL], [ $column = NULL])
void compression ()
void connect ()
void count ( $table, [ $where = NULL])
void createTable ( $table,  $sql)
void delete ( $table,  $rows)
void getColumns ( $table)
void getTables ()
void hasColumn ([ $table = NULL], [ $column = false])
void hasTable ([ $table = NULL])
void insert ( $table,  $values, [ $insertUserID = NULL])
void load ( &$obj, [ $ID = NULL], [ $table = NULL])
void master ()
void populate ( &$obj,  $values)
void safe_mode ([ $make = true])
void save ( &$obj, [ $table = NULL])
void savecache ()
void select ( $table, [ $columns = NULL], [ $where = NULL], [ $sort = NULL], [ $limit = NULL], [ $offset = NULL])
void shell ([ $command = NULL])
Variables
static mixed $dbMaster (line 21)
  • access: public
static mixed $dbObj (line 20)
  • access: public
static mixed $SAFEMODE = false (line 22)
  • access: public
Methods
cache (line 115)
  • access: public
void cache ([ $field = NULL], [ $value = NULL])
  • $field
  • $value
column (line 83)
  • access: public
void column ( $table,  $column)
  • $table
  • $column
columnComment (line 91)
  • access: public
void columnComment ([ $table = NULL], [ $column = NULL])
  • $table
  • $column
columnDefault (line 95)
  • access: public
void columnDefault ([ $table = NULL], [ $column = NULL])
  • $table
  • $column
columnType (line 87)
  • access: public
void columnType ([ $table = NULL], [ $column = NULL])
  • $table
  • $column
compression (line 103)
  • access: public
void compression ()
connect (line 37)
  • access: public
void connect ()
count (line 99)
  • access: public
void count ( $table, [ $where = NULL])
  • $table
  • $where
createTable (line 111)
  • access: public
void createTable ( $table,  $sql)
  • $table
  • $sql
delete (line 71)
  • access: public
void delete ( $table,  $rows)
  • $table
  • $rows
getColumns (line 51)
  • access: public
void getColumns ( $table)
  • $table
getTables (line 47)
  • access: public
void getTables ()
hasColumn (line 79)
  • access: public
void hasColumn ([ $table = NULL], [ $column = false])
  • $table
  • $column
hasTable (line 75)
  • access: public
void hasTable ([ $table = NULL])
  • $table
insert (line 63)
  • access: public
void insert ( $table,  $values, [ $insertUserID = NULL])
  • $table
  • $values
  • $insertUserID
load (line 43)
  • access: public
void load ( &$obj, [ $ID = NULL], [ $table = NULL])
  • &$obj
  • $ID
  • $table
master (line 31)
  • access: public
void master ()
populate (line 67)
  • access: public
void populate ( &$obj,  $values)
  • &$obj
  • $values
safe_mode (line 24)
  • access: public
void safe_mode ([ $make = true])
  • $make
save (line 55)
  • access: public
void save ( &$obj, [ $table = NULL])
  • &$obj
  • $table
savecache (line 138)
  • access: public
void savecache ()
select (line 59)
  • access: public
void select ( $table, [ $columns = NULL], [ $where = NULL], [ $sort = NULL], [ $limit = NULL], [ $offset = NULL])
  • $table
  • $columns
  • $where
  • $sort
  • $limit
  • $offset
shell (line 107)
  • access: public
void shell ([ $command = NULL])
  • $command

Documentation generated on Sun, 20 Sep 2009 02:21:19 -0700 by phpDocumentor 1.4.1