A symfony database driver for Propel.
Method Summary
connect , shutdown , __call
Methods inherited from sfDatabase
connect , getConnection , getParameter , getParameterHolder , getResource , hasParameter , initialize , setParameter , shutdown , __construct
Method Details
-
Adds configuration for current datasource.
-
Connect to the database.
Stores the PDO connection in $connection.
-
(array) getConfiguration ()
Browse code
Returns the current propel configuration.
-
initialize ($parameters, $name)
Browse code
| $parameters |
The datasource parameters |
| $name |
The datasource name |
Configures a Propel datasource.
-
(array) parseDsn ($dsn)
Browse code
Parses PDO style DSN.
returns the parsed dsn
-
setConnectionParameter ($key, $value)
Browse code
Sets database configuration parameter
-
Marks the current database as the default.
-
Execute the shutdown procedure.
|