symfony API

sfPostgreSQLDatabase Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

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

sfPostgreSQLDatabase provides connectivity for the PostgreSQL brand database.

Inheritence

sfPostgreSQLDatabase  <  sfDatabase

Method Summary

  • shutdown()
    Executes the shutdown procedure.
  • connect()
    Connects to the database.
  • string loadParameters([[[amp]]]$array)
    Loads connection parameters from an existing array.

Methods inherited from sfDatabase

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

Method Details

  • shutdown ()

    Executes the shutdown procedure.

    throws sfDatabaseException If an error occurs while shutting down this database

  • connect ()

    Connects to the database.

    throws sfDatabaseException If a connection could not be created

  • (string) loadParameters ([[[amp]]]$array)

    Loads connection parameters from an existing array.

    returns A connection string