full url method to iconmanager

This commit is contained in:
kremsy 2015-01-17 15:59:26 +01:00
parent ac4339e22b
commit 0d8ff77867

View File

@ -75,6 +75,16 @@ class IconManager implements CallbackListener {
$this->icons[$iconName] = $iconLink . '/' . $iconName; $this->icons[$iconName] = $iconLink . '/' . $iconName;
} }
/**
* Adds an Icon by it's full URL
*
* @param $iconName
* @param $iconUrl
*/
public function addIconFullUrl($iconName, $iconUrl) {
$this->icons[$iconName] = $iconUrl;
}
/** /**
* Get an Icon by its Name * Get an Icon by its Name
* *