onPHP

DBPool Class Reference

 

DBPool Class Reference
[Connectors and dialects for various databases]

Pool of DB's instances. More...

Inheritance diagram for DBPool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 addLink ($name, DB $db)
 getLink ($name=null)

Static Public Member Functions

static me ()
static getByDao (GenericDAO $dao)

Private Attributes

 $pool = array()

Detailed Description

Pool of DB's instances.

Definition at line 18 of file DBPool.class.php.


Member Function Documentation

static DBPool::me (  )  [static]

Implements Instantiatable.

Definition at line 22 of file DBPool.class.php.

References Singleton::getInstance().

Here is the call graph for this function:

DBPool::addLink ( name,
DB db 
)

Definition at line 32 of file DBPool.class.php.

DBPool::getLink ( name = null  ) 

Definition at line 44 of file DBPool.class.php.

References DBFactory::getDefaultInstance().

Here is the call graph for this function:


Member Data Documentation

DBPool::$pool = array() [private]

Definition at line 20 of file DBPool.class.php.


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

generated by doxygen-1.5.1
for onPHP at Sun Nov 12 00:38:21 2006