symfony API

sfPDODatabase Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

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

sfPDODatabase provides connectivity for the PDO database abstraction layer.

Inheritence

sfPropelDatabase  <  sfPDODatabase  <  sfDatabase

Method Summary

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

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

  • (void) shutdown () Browse code

    Execute the shutdown procedure.

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

    Magic method for calling PDO directly via sfPDODatabase