Class: Database

Source Location: /lib/database.php.inc

Class Overview





Variables

Methods


Class Variables

static $connection =  NULL

access:  public
Type:   mixed

static $failureRetries =  5

access:  public
Type:   mixed

static $failureRetryInterval =  1000

access:  public
Type:   mixed

static $hostname =  'localhost'

access:  public
Type:   mixed

static $password =  ''

access:  public
Type:   mixed

static $username =  ''

access:  public
Type:   mixed








Class Methods


static method DatabaseExists() [line 62]

static void DatabaseExists( $db)

access:  public

Parameters:

   $db  

[ Top ]

static method Disconnect() [line 57]

static void Disconnect( )

access:  public

[ Top ]

static method error() [line 187]

static void error( )


[ Top ]

static method quoteCols() [line 191]

static void quoteCols( )


[ Top ]

static method quoteList() [line 201]

static void quoteList( )


[ Top ]

static method quoteValues() [line 196]

static void quoteValues( )


[ Top ]

constructor __construct() [line 45]

Database __construct( [ $db = NULL])

access:  public

Parameters:

   $db  

[ Top ]

method delete() [line 180]

void delete( $table, $field, $value)

access:  public

Parameters:

   $table  
   $field  
   $value  

[ Top ]

method getCol() [line 108]

void getCol( $table, $col, $where)

access:  public

Parameters:

   $table  
   $col  
   $where  

[ Top ]

method initialize() [line 85]

void initialize( $db)

access:  public

Parameters:

   $db  

[ Top ]

method insert() [line 151]

void insert( $table, $array1, [ $array2 = NULL])

access:  public

Parameters:

   $table  
   $array1  
   $array2  

[ Top ]

method query() [line 132]

void query( $sql)

access:  public

Parameters:

   $sql  

[ Top ]

method selectDb() [line 69]

void selectDb( $db)

access:  public

Parameters:

   $db  

[ Top ]

method update() [line 165]

void update( $table, $idfield, $id, $array1, $array2)

access:  public

Parameters:

   $table  
   $idfield  
   $id  
   $array1  
   $array2  

[ Top ]


Documentation generated on Tue, 10 May 2011 19:40:58 +0200 by phpDocumentor 1.4.3