diff --git a/core/Manialinks/IconManager.php b/core/Manialinks/IconManager.php index 60535ed2..c6fe01f8 100644 --- a/core/Manialinks/IconManager.php +++ b/core/Manialinks/IconManager.php @@ -39,7 +39,7 @@ class IconManager implements CallbackListener { */ /** @var ManiaControl $maniaControl */ private $maniaControl = null; - private $icons = array(); + private $icons = array(); /** * Construct a new icon manager instance @@ -75,6 +75,16 @@ class IconManager implements CallbackListener { $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 *