symfony API

sfLoader Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.0 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.

sfLoader is a class which contains the logic to look for files/classes in symfony.

Method Summary

  • array getConfigPaths()
    Gets the configuration file paths for a given relative configuration path.
  • array getControllerDirs()
    Gets directories where controller classes are stored for a given module.
  • array getGeneratorSkeletonDirs(, )
    Gets directories where the skeleton is stored for a generator class and a specific theme.
  • string getGeneratorTemplate(, , )
    Gets the template to use for a generator class.
  • array getGeneratorTemplateDirs(, )
    Gets directories where template files are stored for a generator class and a specific theme.
  • array getHelperDirs()
    Gets the helper directories for a given module name.
  • string getI18NDir()
    Gets the i18n directory to use for a given module.
  • array getModelDirs()
    Gets directories where model classes are stored. The order of returned paths is lowest precedence
  • string getTemplateDir(, )
    Gets the template directory to use for a given module and template file.
  • array getTemplateDirs()
    Gets directories where template files are stored for a given module.
  • string getTemplatePath(, )
    Gets the template to use for a given module and template file.
  • loadHelpers(, )
    Loads helpers.
  • loadPluginConfig()

Method Details

  • (array) getConfigPaths () Browse code

    Gets the configuration file paths for a given relative configuration path.

    returns An array of paths

  • (array) getControllerDirs () Browse code

    Gets directories where controller classes are stored for a given module.

    returns An array of directories

  • (array) getGeneratorSkeletonDirs (, ) Browse code

    Gets directories where the skeleton is stored for a generator class and a specific theme.

    returns An array of directories

  • (string) getGeneratorTemplate (, , ) Browse code

    Gets the template to use for a generator class.

    returns A template path

    throws sfException

  • (array) getGeneratorTemplateDirs (, ) Browse code

    Gets directories where template files are stored for a generator class and a specific theme.

    returns An array of directories

  • (array) getHelperDirs () Browse code

    Gets the helper directories for a given module name.

    returns An array of directories

  • (string) getI18NDir () Browse code

    Gets the i18n directory to use for a given module.

    returns An i18n directory

  • (array) getModelDirs () Browse code

    Gets directories where model classes are stored. The order of returned paths is lowest precedence

    to highest precedence.

    returns An array of directories

  • (string) getTemplateDir (, ) Browse code

    Gets the template directory to use for a given module and template file.

    returns A template directory

  • (array) getTemplateDirs () Browse code

    Gets directories where template files are stored for a given module.

    returns An array of directories

  • (string) getTemplatePath (, ) Browse code

    Gets the template to use for a given module and template file.

    returns A template path

  • loadHelpers (, ) Browse code

    Loads helpers.

    throws sfViewException

  • loadPluginConfig () Browse code