Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/vendors/Textpattern/Loader.php - 166 lines - 3763 bytes - Source - Print

Description: Autoloader.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Loader:: (4 methods):
register()
unregister()
__construct()
load()

Class: Loader


register()  line: 71
Registers the loader.

return: bool FALSE on error
unregister()  line: 90
Unregisters a loader.

return: bool FALSE on error
__construct($directory, $namespace = null, $separator = '\\', $extension = '.php')  line: 101
Constructor.

param: string $directory Registered vendors directory
param: string $namespace Limits the loader to a specific namespace
param: string $separator Namespace separator
param: string $extension File extension
load($class line: 120
Loads a class.

return: bool
param: string $class The class

title

Body