symfony API

sfMessageSource_Database Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

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

sfMessageSource_Database class.

Inheritence

sfMessageSource_SQLite, sfMessageSource_MySQL  <  sfMessageSource_Database  <  sfMessageSource

Method Summary

  • array getCatalogueList($catalogue)
    Gets all the variants of a particular catalogue.
  • getId()
  • array parseDSN($dsn)
    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 ($dsn) Browse code

    $dsn 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.