Class AutoLoader (namespace Nette\Loaders)


Auto loader is responsible for loading classes and interfaces.

Object
   |
   --AutoLoader

Direct Known Sub-classes:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Abstract:
Located: in /Loaders/AutoLoader.php (line 36)
Public Method Summary
static array
Return all registered autoloaders.
static void
load (string $type)
Try to load the requested class.
void
Register autoloader.
abstract void
tryLoad (string $type)
Handles autoloading of classes or interfaces.
bool
Unregister autoloader.
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary
static int $count 0

line 42

for profiling purposes

Method Details

line 62

getLoaders

public static array getLoaders ()

Return all registered autoloaders.

Output
array of AutoLoader

line 51

load

public static void load (string $type)

Try to load the requested class.

Input
string $type class/interface name
Output
void  

line 73

register

public void register ()

Register autoloader.

Output
void  

line 102

tryLoad

public abstract void tryLoad (string $type)

Handles autoloading of classes or interfaces.

Input
string $type
Output
void  
Tags
Abstract

line 89

unregister

public bool unregister ()

Unregister autoloader.

Output
bool