Class RSDApplication

Description

RSDApplication is the base class for any application class.

It holds handles to all objects used in this application. It can be used as the only entry point to the whole application!

  • copyright: Lukas Feiler 2003
  • author: Lukas Feiler

Located in /code/framework/RSDEngine/RSDApplication.php (line 40)

PEAR
   |
   --RSDApplication
Direct descendents
Class Description
RSDLiveUserApplication RSDLiveUserApplication is the base class for any LiveUser application class.
Variable Summary
Method Summary
RSDApplication RSDApplication (DB $db, RSErrorManager &$errorManager)
void addTable (table &$table)
void &getTable (mixed $tableName)
Variables
Auth $auth = null (line 60)

An instance of PEAR::Auth.

DB $db = null (line 50)

An instance of PEAR::DB

RSErrorManager $errorManager = null (line 55)

An instance of RSErrorManager (or a child class).

Smarty $smarty (line 65)

An instance of Smarty.

Array $_tables = array() (line 45)

Associative array that holds handels to all RSDTable object created. The table name is used as the key.

  • access: private
Methods
Constructor RSDApplication (line 72)

The constructor initializes the field db and errorManager.

RSDApplication RSDApplication (DB $db, RSErrorManager &$errorManager)
  • DB $db: An instance of the class PEAR::DB
  • RSErrorManager $errorManager: An instance of the class RSErrorManager
addTable (line 83)

This method adds the table object passed as argument to the array $this->_tables.

void addTable (table &$table)
  • table &$table: An instance of an RSDTable child class.
getTable (line 90)
void &getTable (mixed $tableName)

Documentation generated on Mon, 8 Dec 2003 13:10:39 +0100 by phpDocumentor 1.2.3