symfony API

sfPDODatabase Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

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

sfPDODatabase provides connectivity for the PDO database abstraction layer.

Inheritence

sfPDODatabase  <  sfDatabase

Method Summary

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

Methods inherited from sfDatabase

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