symfony API

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

sfSimpleAutoload class.

Inheritence

sfCompatAutoload  <  sfSimpleAutoload

Method Summary

  • addDirectory(, )
    Adds a directory to the autoloading system if not yet present and give it the highest possible precedence.
  • addFile(, )
    Adds a file to the autoloading system.
  • addFiles(, )
    Adds files to the autoloading system.
  • boolean autoload()
    Handles autoloading of classes.
  • sfSimpleAutoload getInstance($cacheFile)
    Retrieves the singleton instance of this class.
  • loadCache()
    Loads the cache.
  • void register()
    Register sfSimpleAutoload in spl autoloader.
  • reload()
    Reloads cache.
  • removeCache()
    Removes the cache.
  • saveCache()
    Saves the cache.
  • setClassPath()
  • void unregister()
    Unregister sfSimpleAutoload from spl autoloader.
  • __construct()

Method Details

  • addDirectory (, ) Browse code

    Adds a directory to the autoloading system if not yet present and give it the highest possible precedence.

  • addFile (, ) Browse code

    Adds a file to the autoloading system.

  • addFiles (, ) Browse code

    Adds files to the autoloading system.

  • (boolean) autoload () Browse code

    Handles autoloading of classes.

    returns Returns true if the class has been loaded

  • (sfSimpleAutoload) getInstance ($cacheFile) Browse code

    $cacheFile The file path to save the cache

    Retrieves the singleton instance of this class.

    returns A sfSimpleAutoload implementation instance.

  • loadCache () Browse code

    Loads the cache.

  • (void) register () Browse code

    Register sfSimpleAutoload in spl autoloader.

  • reload () Browse code

    Reloads cache.

  • removeCache () Browse code

    Removes the cache.

  • saveCache () Browse code

    Saves the cache.

  • setClassPath () Browse code

  • (void) unregister () Browse code

    Unregister sfSimpleAutoload from spl autoloader.

  • __construct () Browse code