symfony API

sfMessageSource_Database Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfMessageSource_Database class.

Inheritence

sfMessageSource_Creole, sfMessageSource_SQLite, sfMessageSource_MySQL  <  sfMessageSource_Database  <  sfMessageSource

Method Summary

  • array getCatalogueList($catalogue)
    Gets all the variants of a particular catalogue.
  • getId()
  • array parseDSN($dns)
    For a given DSN (database connection string), return some information about the DSN.

Methods inherited from sfMessageSource

& , append , factory , getCache , getCatalogueList , getCulture , getLastModified , getSource , isValidSource , load , read , setCache , setCulture , __construct

Method Details

  • (array) getCatalogueList ($catalogue) Browse code

    $catalogue catalogue name

    Gets all the variants of a particular catalogue.

    returns list of all variants for this catalogue.

  • getId () Browse code

  • (array) parseDSN ($dns) Browse code

    $dns DSN format, similar to PEAR's DB

    For a given DSN (database connection string), return some information about the DSN.


    This function comes from PEAR's DB package.

    returns DSN information.