aliroDatabase Class Reference

Inheritance diagram for aliroDatabase:

aliroCoreDatabase aliroCoreDatabase JDatabase joomlaDatabase mamboDatabase

List of all members.

Public Member Functions

 __call ($method, $args)
 loadObject (&$object)

Static Public Member Functions

static getInstance ()

Protected Member Functions

 __construct ()
 __clone ()

Protected Attributes

 $database

Static Protected Attributes

static $instance = __CLASS__


Detailed Description

Definition at line 622 of file aliroDatabase.php.


Constructor & Destructor Documentation

aliroDatabase::__construct (  )  [protected]

Reimplemented in aliroCoreDatabase, and aliroCoreDatabase.

Definition at line 627 of file aliroDatabase.php.

References aliroCore::getConfigData().

00627                                       {
00628         $credentials = aliroCore::getConfigData('credentials.php');
00629         $this->database = new aliroDatabaseHandler ($credentials['dbhost'], $credentials['dbusername'], $credentials['dbpassword'], $credentials['dbname'], $credentials['dbprefix']);
00630     }


Member Function Documentation

aliroDatabase::__clone (  )  [protected]

Definition at line 632 of file aliroDatabase.php.

00632                                   {
00633         // Enforce singleton
00634     }

aliroDatabase::__call ( method,
args 
)

Definition at line 636 of file aliroDatabase.php.

00636                                             {
00637         return call_user_func_array(array($this->database, $method), $args);
00638     }

aliroDatabase::loadObject ( &$  object  ) 

Definition at line 641 of file aliroDatabase.php.

00641                                           {
00642         return $this->database->loadObject($object);
00643     }

static aliroDatabase::getInstance (  )  [static]


Member Data Documentation

aliroDatabase::$instance = __CLASS__ [static, protected]

Reimplemented in aliroCoreDatabase, joomlaDatabase, and JDatabase.

Definition at line 624 of file aliroDatabase.php.

aliroDatabase::$database [protected]

Definition at line 625 of file aliroDatabase.php.


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

Generated on Wed May 14 13:01:58 2008 for ALIRO by  doxygen 1.5.5