Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/vendors/Textpattern/Loader.php - 164 lines - 3758 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: 89
Unregisters a loader.

return: bool FALSE on error
__construct($directory, $namespace = null, $separator = '\\', $extension = '.php')  line: 100
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: 119
Loads a class.

return: bool
param: string $class The class

title

Body