A symfony database driver for Doctrine.
Method Details
-
Initializes the connection and sets it to object.
-
(Doctrine_Connection) getDoctrineConnection ()
Browse code
Get the Doctrine_Connection instance.
returns $conn
-
(sfDoctrineConnectionProfiler|null) getProfiler ()
Browse code
Returns the connection profiler.
-
(void) initialize ($parameters)
Browse code
| $parameters |
Array of parameters used to initialize the database connection |
Initialize a sfDoctrineDatabase connection with the given parameters.
$parameters = array(
'name' => 'doctrine',
'dsn' => 'sqlite:////path/to/sqlite/db'); $p = new sfDoctrineDatabase($parameters);
-
Execute the shutdown procedure.
|