symfony API

sfPostgreSQLDatabase Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

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

sfPostgreSQLDatabase provides connectivity for the PostgreSQL brand database.

Inheritence

sfPostgreSQLDatabase  <  sfDatabase

Method Summary

  • connect()
    Connects to the database.
  • shutdown()
    Executes the shutdown procedure.

Methods inherited from sfDatabase

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

Method Details

  • connect () Browse code

    Connects to the database.

    throws sfDatabaseException If a connection could not be created

  • shutdown () Browse code

    Executes the shutdown procedure.

    throws sfDatabaseException If an error occurs while shutting down this database