class WebPortalTheme (View source)

Class WebPortalTheme

Properties

string $primaryColorHex
array{h: float, l: float, s: float, a: float} $primaryColorHsl
string $loginLogoUrl
string $menuLogoUrl
string $loginBackground
string $bannerBackground
int $bannerUseDarkTheme

Methods

__construct(bool $init = true)

Constructor

void
init()

Init theme

void
loadPrimaryColor()

Load hex of primary theme color

static string
getIconImagesUrl()

return current icons folder url

static string
getIconImagesPath()

return current icons folder path

Details

__construct(bool $init = true)

Constructor

Parameters

bool $init

Init theme properties

void init()

Init theme

Return Value

void

void loadPrimaryColor()

Load hex of primary theme color

Return Value

void

static string getIconImagesUrl()

return current icons folder url

Return Value

string

static string getIconImagesPath()

return current icons folder path

Return Value

string