symfony API

sfLoader 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.

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

Method Summary

  • array getHelperDirs($moduleName)
    Gets the helper directories for a given module name.
  • loadHelpers($helpers, $moduleName)
    Loads helpers.

Method Details

  • (array) getHelperDirs ($moduleName) Browse code

    $moduleName The module name

    Gets the helper directories for a given module name.

    returns An array of directories

  • loadHelpers ($helpers, $moduleName) Browse code

    $helpers An array of helpers to load
    $moduleName A module name (optional)

    Loads helpers.

    throws sfViewException