Class MyDBLayer

Description

DBLayer class derivation base class for all mods and dbhandle class for base methods

Located in /base/include/class.dbLayer.php (line 5)


	
			
Variable Summary
mixed $debug
mixed $handle
mixed $result
Method Summary
MyDBLayer MyDBLayer (mixed $debug)
void execute (mixed $sql)
void fetch_colNames (mixed $table, [mixed $with_blank_entry = TRUE])
void fetch_object (mixed $sql)
void fetch_select (mixed $att)
void fetch_tableNames ([mixed $with_blank_entry = TRUE])
void get_insert_id ()
void locktable (mixed $tablename, [mixed $lock = true])
Variables
mixed $debug (line 21)

The error handler

  • access: private
mixed $handle = 0 (line 11)

Common handle of persistent database connection

  • access: private
mixed $result = 0 (line 16)

Keeps result of the last query in memory

  • access: private
Methods
Constructor MyDBLayer (line 28)

Constructor of class MyDBLayer

Starts connection and select handled database

  • access: private
MyDBLayer MyDBLayer (mixed $debug)
execute (line 52)

Common execute method mainly for the derived classes in mods

  • access: private
void execute (mixed $sql)
fetch_colNames (line 89)
  • access: private
void fetch_colNames (mixed $table, [mixed $with_blank_entry = TRUE])
fetch_object (line 76)
  • access: private
void fetch_object (mixed $sql)
fetch_select (line 118)
  • access: private
void fetch_select (mixed $att)
fetch_tableNames (line 104)
  • access: private
void fetch_tableNames ([mixed $with_blank_entry = TRUE])
get_insert_id (line 67)
void get_insert_id ()
locktable (line 42)

Locking Mechanismus wird der BDB Transaction - Methode vorgezogen Solange keine größeren Installationen des Frameworks eingesetzt werden, macht dies Sinn.

Starts connection and select handled database

  • access: private
void locktable (mixed $tablename, [mixed $lock = true])

Documentation generated on Thu, 27 Nov 2003 17:36:21 +0100 by phpDocumentor 1.2.3