ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Manages assets. More...
Public Member Functions | |
get ($name) | |
Gets an asset by name. More... | |
has ($name) | |
Checks if the current asset manager has a certain asset. More... | |
set ($name, AssetInterface $asset) | |
Registers an asset to the current asset manager. More... | |
getNames () | |
Returns an array of asset names. More... | |
clear () | |
Clears all assets. More... | |
Private Attributes | |
$assets = array() | |
Manages assets.
Definition at line 21 of file AssetManager.php.
Assetic\AssetManager::clear | ( | ) |
Assetic\AssetManager::get | ( | $name | ) |
Gets an asset by name.
string | $name | The asset name |
Definition at line 34 of file AssetManager.php.
Referenced by Assetic\AssetWriter\writeManagerAssets().
Assetic\AssetManager::getNames | ( | ) |
Returns an array of asset names.
Definition at line 77 of file AssetManager.php.
Referenced by Assetic\AssetWriter\writeManagerAssets().
Assetic\AssetManager::has | ( | $name | ) |
Checks if the current asset manager has a certain asset.
string | $name | an asset name |
Definition at line 50 of file AssetManager.php.
Assetic\AssetManager::set | ( | $name, | |
AssetInterface | $asset | ||
) |
Registers an asset to the current asset manager.
string | $name | The asset name |
AssetInterface | $asset | The asset |
Definition at line 63 of file AssetManager.php.
|
private |
Definition at line 23 of file AssetManager.php.