Helper to get the branding HTML. More...
Static Public Member Functions | |
static | get ($host="", $use_label=true, $is_menu=false) |
Generates brading based based on license, if any, and if the image exists, otherwise return generic branding blob. | |
Data Fields | |
const | DEFAULT_IMAGE = 'default.png' |
Default image to use when unlicensed or license without an icon. | |
const | MENU_IMAGE = 'om_menu.png' |
The image to use when in menu. |
Helper to get the branding HTML.
static brand::get | ( | $ | host = "" , |
|
$ | use_label = true , |
|||
$ | is_menu = false | |||
) | [static] |
Generates brading based based on license, if any, and if the image exists, otherwise return generic branding blob.