Class Support_Resources_DefaultDBProvider

Description

Implements interfaces:

Default implementation of Support_Resources_DBProvider

Located in /support/lib/Support/Resources/DefaultDBProvider.php (line 9)


	
			
Variable Summary
 mixed $connection
Method Summary
 Support_Resources_DefaultDBProvider __construct ()
 void connect ()
 PDO get ([boolean $writer = true], [boolean $unique = false])
Variables
mixed $connection (line 10)
  • access: protected
Methods
Constructor __construct (line 15)

Constructor

  • access: public
Support_Resources_DefaultDBProvider __construct ()
connect (line 38)

Connect to the database

  • access: protected
void connect ()
get (line 26)

Return an instance of a database connection.

  • access: public
PDO get ([boolean $writer = true], [boolean $unique = false])
  • boolean $writer: If true, the returned connection must be writing to the database (default is true)
  • boolean $unique: If true, forces the provider to return a unique, unshared connection (default is false)

Implementation of:
Support_Resources_DBProvider::get()
Return an instance of a database connection.
get_new_connection (line 47)

Returns a new PDO connection

  • access: protected
void get_new_connection ()

Documentation generated on Wed, 25 Apr 2012 09:46:42 -0700 by phpDocumentor 1.4.3