symfony API

sfAutoload Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

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

sfAutoload class.

Method Summary

Method Details

  • (boolean) autoload ($class) Browse code

    $class A class name.

    Handles autoloading of classes that have been specified in autoload.yml.

    returns Returns true if the class has been loaded

  • autoloadAgain ($class) Browse code

    $class

  • getClassPath ($class) Browse code

    $class

  • getInstance () Browse code

    Retrieves the singleton instance of this class.

    returns A sfCoreAutoload implementation instance.

  • (boolean) loadClass ($class) Browse code

    $class A class name.

    Tries to load a class that has been specified in autoload.yml.

    returns Returns true if the class has been loaded

  • register () Browse code

    Register sfAutoload in spl autoloader.

  • reloadClasses ($force = false) Browse code

    $force

  • setClassPath ($class, $path) Browse code

    $class
    $path

  • unregister () Browse code

    Unregister sfAutoload from spl autoloader.

  • __construct () Browse code