symfony API

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

sfCoreAutoload class.

Method Summary

  • boolean autoload($class)
    Handles autoloading of classes.
  • base getBaseDir()
    Returns the base directory this autoloader is working on.
  • getInstance()
    Retrieves the singleton instance of this class.
  • make()
    Rebuilds the association array between class names and paths.
  • register()
    Register sfCoreAutoload in spl autoloader.
  • unregister()
    Unregister sfCoreAutoload from spl autoloader.
  • __construct()

Method Details

  • (boolean) autoload ($class) Browse code

    $class A class name.

    Handles autoloading of classes.

    returns Returns true if the class has been loaded

  • (base) getBaseDir () Browse code

    Returns the base directory this autoloader is working on.

    returns directory

  • getInstance () Browse code

    Retrieves the singleton instance of this class.

    returns A sfCoreAutoload implementation instance.

  • make () Browse code

    Rebuilds the association array between class names and paths.


    This method overrides this file (__FILE__)

  • register () Browse code

    Register sfCoreAutoload in spl autoloader.

  • unregister () Browse code

    Unregister sfCoreAutoload from spl autoloader.

  • __construct () Browse code