brand Class Reference

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.

Detailed Description

Helper to get the branding HTML.


Member Function Documentation

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.

Returns:
string A HTML blob to use in branding

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 27 Jan 2020 for ninja by  doxygen 1.6.1