Elgg
Version 1.9
|
Go to the source code of this file.
Namespaces | |
Elgg\Core | |
Activate a plugin or plugins. | |
Functions | |
_elgg_services () | |
_elgg_create_service_provider () | |
Sets up autoloading and creates the service provider (DIC) More... | |
_elgg_load_autoload_cache () | |
Load cached data into the autoload system. More... | |
_elgg_save_autoload_cache () | |
Save the autoload system cache. 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... | |
_elgg_create_service_provider | ( | ) |
Sets up autoloading and creates the service provider (DIC)
Setup global class map and loader instances and add the core classes to the map. We can't load this from dataroot because we don't know it yet, and we'll need several classes before we can find out!
RuntimeException | private |
Definition at line 32 of file autoloader.php.
_elgg_delete_autoload_cache | ( | ) |
_elgg_load_autoload_cache | ( | ) |
Load cached data into the autoload system.
Note this has to wait until Elgg's data path is known.
private
Definition at line 62 of file autoloader.php.
_elgg_save_autoload_cache | ( | ) |
_elgg_services | ( | ) |
Definition at line 14 of file autoloader.php.
elgg_get_class_loader | ( | ) |
Get Elgg's class loader.
Definition at line 93 of file autoloader.php.
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 122 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 109 of file autoloader.php.