CSERD Class Reference

Manage connections to/information about the CSERD database. More...

Inheritance diagram for CSERD:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static getDBI ()
 Get the DBI to access the CSERD database.
static init ()
 Initialize the CSERD services.
static isInitialized ()
 Check to see if CSERD is initialized.


Detailed Description

Manage connections to/information about the CSERD database.

Author:
jwsm@shodor.org

Definition at line 7 of file CSERD.php5.


Member Function Documentation

static CSERD::getDBI (  )  [static]

Get the DBI to access the CSERD database.

Returns:
[DBI]: The CSERD Database Interface (DBI) object

Definition at line 47 of file CSERD.php5.

Referenced by SDRServiceCache::updateAverageReviewRating().

static CSERD::init (  )  [static]

Initialize the CSERD services.

Connect to CSERD database and store the DBI for other services/ applications to use it

Definition at line 17 of file CSERD.php5.

References SObject::getError(), and SConfig::getOption().

static CSERD::isInitialized (  )  [static]

Check to see if CSERD is initialized.

Returns:
[bool]: True if initialized, false if not

Definition at line 38 of file CSERD.php5.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:05:47 2010 for Common by  doxygen 1.5.6