dolibarr 23.0.3
WebPortalTheme Class Reference

Class WebPortalTheme. More...

Public Member Functions

 __construct ($init=true)
 Constructor.
 
 init ()
 Init theme.
 
 loadPrimaryColor ()
 Load hex of primary theme color.
 

Static Public Member Functions

static getIconImagesUrl ()
 return current icons folder url
 
static getIconImagesPath ()
 return current icons folder path
 

Detailed Description

Class WebPortalTheme.

Definition at line 37 of file webPortalTheme.class.php.

Constructor & Destructor Documentation

◆ __construct()

WebPortalTheme::__construct ( $init = true)

Constructor.

Parameters
bool$initInit theme properties

Definition at line 84 of file webPortalTheme.class.php.

References init().

Member Function Documentation

◆ getIconImagesPath()

static WebPortalTheme::getIconImagesPath ( )
static

return current icons folder path

Returns
string

Definition at line 166 of file webPortalTheme.class.php.

◆ getIconImagesUrl()

static WebPortalTheme::getIconImagesUrl ( )
static

return current icons folder url

Returns
string

Definition at line 155 of file webPortalTheme.class.php.

References Context\getInstance().

◆ init()

WebPortalTheme::init ( )

◆ loadPrimaryColor()

WebPortalTheme::loadPrimaryColor ( )

Load hex of primary theme color.

Returns
void

Definition at line 130 of file webPortalTheme.class.php.

References colorArrayToHex(), colorHexToHsl(), colorStringToArray(), colorValidateHex(), and getDolGlobalString().

Referenced by init().


The documentation for this class was generated from the following file: