brand Class Reference

Helper to get the branding HTML. More...

Static Public Member Functions

static get ($host="", $use_label=true)
 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.

Detailed Description

Helper to get the branding HTML.


Member Function Documentation

static brand::get ( host = "",
use_label = true 
) [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 19 Dec 2018 for ninja by  doxygen 1.6.1