Help class to ease the customization of the Ninja GUI Logo. More...
Public Member Functions | |
imageExists ($logo) | |
Function to check if the image actually exists, else we won't display the logo. | |
getImage () | |
Get the logo we should use based on some nifty logic. | |
getCustomImageList () | |
Read the custom dir defined in customlogo config file return an array of the names. | |
Static Public Member Functions | |
static | Render () |
Display the div with the logo if it's all enabled. |
Help class to ease the customization of the Ninja GUI Logo.
customlogo::getImage | ( | ) |
Get the logo we should use based on some nifty logic.
Get list of icons found in the custom_logo dir and try to match it towards your pattern defined in config