symfony API

sfCoreAutoload Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

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

sfCoreAutoload class.

Method Summary

  • boolean autoload($class)
    Handles autoloading of classes.
  • string getBaseDir()
    Returns the base directory this autoloader is working on.
  • string|null getClassPath($class)
    Returns the filename of the supplied class.
  • sfCoreAutoload getInstance()
    Retrieves the singleton instance of this class.
  • make()
    Rebuilds the association array between class names and paths.
  • void register()
    Register sfCoreAutoload in spl autoloader.
  • void 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

  • (string) getBaseDir () Browse code

    Returns the base directory this autoloader is working on.

    returns The path to the symfony core lib directory

  • (string|null) getClassPath ($class) Browse code

    $class The class name (case insensitive)

    Returns the filename of the supplied class.

    returns An absolute path or null

  • (sfCoreAutoload) 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__)

  • (void) register () Browse code

    Register sfCoreAutoload in spl autoloader.

  • (void) unregister () Browse code

    Unregister sfCoreAutoload from spl autoloader.

  • __construct () Browse code