symfony API

sfCreoleDatabase Class

« Back to API menu

Packages

You are currently browsing the symfony API for the 1.1 version. Switch to:

sfCreoleDatabase provides connectivity for the Creole database abstraction layer.

Inheritence

sfPropelDatabase  <  sfCreoleDatabase  <  sfDatabase

Method Summary

  • shutdown()
    Execute the shutdown procedure.
  • connect()
    Connect to the database.
  • array&amp; loadDSN([[[amp]]]$array)
    Load a DSN connection string from an existing array.

Methods inherited from sfDatabase

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

Method Details

  • shutdown () Browse code

    Execute the shutdown procedure.

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

  • connect () Browse code

    Connect to the database.

    throws sfDatabaseException If a connection could not be created.

  • (array&amp;) loadDSN ([[[amp]]]$array) Browse code

    [[[amp]]]$array

    Load a DSN connection string from an existing array.

    returns An associative array of connection parameters.