symfony API

sfPDODatabase 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:

sfPDODatabase provides connectivity for the PDO database abstraction layer.

Inheritence

sfPDODatabase  <  sfDatabase

Method Summary

  • mixed __call($method, $arguments)
    Magic method for calling PDO directly via sfPDODatabase
  • shutdown()
    Execute the shutdown procedure.
  • connect()
    Connects to the database.

Methods inherited from sfDatabase

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

Method Details

  • (mixed) __call ($method, $arguments)

    Magic method for calling PDO directly via sfPDODatabase

  • shutdown ()

    Execute the shutdown procedure.

  • connect ()

    Connects to the database.

    throws sfDatabaseException If a connection could not be created