symfony API

sfCreoleDatabase Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.1 API OpenSearch


You are currently browsing the symfony API for the 1.1 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfCreoleDatabase provides connectivity for the Creole database abstraction


sfPropelDatabase  <  sfCreoleDatabase  <  sfDatabase

Method Summary

  • array &()
    Load a DSN connection string from an existing array.
  • connect()
    Connect to the database.
  • void shutdown()
    Execute the shutdown procedure.

Methods inherited from sfDatabase

connect , getConnection , getParameter , getParameterHolder , getResource , hasParameter , initialize , setParameter , shutdown , __construct

Method Details

  • (array) & () Browse code

    Load a DSN connection string from an existing array.

    returns An associative array of connection parameters.

  • connect () Browse code

    Connect to the database.

    throws sfDatabaseException If a connection could not be created.

  • (void) shutdown () Browse code

    Execute the shutdown procedure.

    throws sfDatabaseException If an error occurs while shutting down this database.