Elgg
Version 2.3
|
Go to the source code of this file.
Namespaces | |
Elgg\Core | |
Activate a plugin or plugins. | |
Functions | |
_elgg_services (\Elgg\Di\ServiceProvider $services=null) | |
Get the global service provider. More... | |
_elgg_delete_autoload_cache () | |
Delete the autoload system cache. More... | |
elgg_get_class_loader () | |
Get Elgg's class loader. More... | |
elgg_register_classes ($dir) | |
Register a directory tree for autoloading classes/interfaces/traits. More... | |
elgg_register_class ($class, $location) | |
Register a classname to a file. More... | |
Variables | |
return | function (\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks) |
_elgg_delete_autoload_cache | ( | ) |
_elgg_services | ( | \Elgg\Di\ServiceProvider | $services = null | ) |
Get the global service provider.
\Elgg\Di\ServiceProvider | $services | Elgg service provider. This must be set by the application. |
Definition at line 17 of file autoloader.php.
elgg_get_class_loader | ( | ) |
elgg_register_class | ( | $class, | |
$location | |||
) |
Register a classname to a file.
string | $class | The name of the class |
string | $location | The location of the file |
Definition at line 68 of file autoloader.php.
elgg_register_classes | ( | $dir | ) |
Register a directory tree for autoloading classes/interfaces/traits.
For BC with 1.8, all .php files in the top-level directory are scanned and added to the class map (only on the first request), then lower-level directories are registered for standard PSR-0 autoloading.
string | $dir | The dir to look in |
Definition at line 55 of file autoloader.php.
return function(\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks) |
Definition at line 73 of file autoloader.php.