JLoaderStatic class to handle loading of libraries.
Located in /libraries/loader.php (line 17)
static void
discover
(string $classPrefix, string $parentPath, [boolean $force = true], [boolean $recurse = false])
static void
registerNamespace
(string $namespace, string $path, [boolean $reset = false], [boolean $prepend = false])
static void
registerPrefix
(string $prefix, string $path, [boolean $reset = false], [boolean $prepend = false])
static void
setup
([boolean $enablePsr = true], [boolean $enablePrefixes = true], [boolean $enableClasses = true])
static array
$classAliases
= array() (line 49)
Holds proxy classes and the class names the proxy.
static array
$classes
= array() (line 25)
Container for already imported library paths.
static array
$imported
= array() (line 33)
Container for already imported library paths.
static array
$namespaces
= array() (line 57)
Container for namespace => path map.
static array
$prefixes
= array() (line 41)
Container for registered library class prefixes and path lookups.
Method to discover classes of a given type in a given path.
Method to get the list of registered classes and their respective file paths for the autoloader.
Method to get the list of registered namespaces.
Loads a class from specified directories.
Load the file for a class.
Method to autoload classes that have been aliased using the registerAlias method.
Method to autoload classes that are namespaced to the PSR-0 standard.
Directly register a class to the autoload list.
Offers the ability for "just in time" usage of `class_alias()`.
You cannot overwrite an existing alias.
Register a namespace to the autoloader. When loaded, namespace paths are searched in a "last in, first out" order.
Register a class prefix with lookup path. This will allow developers to register library
packages with different class prefixes to the system autoloader. More than one lookup path may be registered for the same class prefix, but if this method is called with the reset flag set to true then any registered lookups for the given prefix will be overwritten with the current lookup path. When loaded, prefix paths are searched in a "last in, first out" order.
Method to setup the autoloaders for the Joomla Platform.
Since the SPL autoloaders are called in a queue we will add our explicit class-registration based loader first, then fall back on the autoloader based on conventions. This will allow people to register a class in a specific location and override platform libraries as was previously possible.
Documentation generated on Tue, 19 Nov 2013 15:07:23 +0100 by phpDocumentor 1.4.3