Definition at line 10 of file ClassMap.php.
Elgg_ClassMap::getAltered |
( |
| ) |
|
Was this map altered by the class loader?
- Returns
- bool
Definition at line 56 of file ClassMap.php.
Elgg_ClassMap::getMap |
( |
| ) |
|
Get the full map.
- Returns
- array
Definition at line 76 of file ClassMap.php.
Elgg_ClassMap::getPath |
( |
|
$class | ) |
|
Get the path for a class/interface/trait.
- Parameters
-
string | $class | a class/interface/trait name |
- Returns
- string the file path or empty string
Definition at line 28 of file ClassMap.php.
Elgg_ClassMap::mergeMap |
( |
array |
$map | ) |
|
Merge a class map with the current map.
- Parameters
-
array | $map | array with keys being class/interface/trait names and values the absolute file paths that define them |
- Returns
- Elgg_ClassMap
Definition at line 99 of file ClassMap.php.
Elgg_ClassMap::setAltered |
( |
|
$altered | ) |
|
Set the altered flag.
- Parameters
-
bool | $altered | Whether the class map has been altered |
- Returns
- Elgg_ClassMap
Definition at line 66 of file ClassMap.php.
Elgg_ClassMap::setMap |
( |
array |
$map | ) |
|
Set the full map.
- Parameters
-
array | $map | array with keys being class/interface/trait names and values the absolute file paths that define them |
- Returns
- Elgg_ClassMap
Definition at line 87 of file ClassMap.php.
Elgg_ClassMap::setPath |
( |
|
$class, |
|
|
|
$path |
|
) |
| |
Set the path for a class/interface/trait, and mark map as altered.
- Parameters
-
string | $class | a class/interface/trait name |
string | $path | absolute file path |
- Returns
- Elgg_ClassMap
Definition at line 42 of file ClassMap.php.
Elgg_ClassMap::$altered = false |
|
protected |
Elgg_ClassMap::$map = array() |
|
protected |
The documentation for this class was generated from the following file: