Symfony Howto: Retrieve a Propel connection
$con = sfContext::getInstance()->getDatabaseConnection($connection);
With the default configuration, $connection='propel'
The online tutorial gived an example.
DevelopmentHowToRetrieveaCreoleConnection |
|
|
You must first sign up to be able to contribute. |
|
$con = sfContext::getInstance()->getDatabaseConnection($connection);
With the default configuration, $connection='propel'
The online tutorial gived an example.