|
dolibarr 24.0.0-beta
|
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 | |
Class WebPortalTheme.
Definition at line 37 of file webPortalTheme.class.php.
| WebPortalTheme::__construct | ( | $init = true | ) |
Constructor.
| bool | $init | Init theme properties |
Definition at line 84 of file webPortalTheme.class.php.
References init().
|
static |
return current icons folder path
Definition at line 166 of file webPortalTheme.class.php.
|
static |
return current icons folder url
Definition at line 155 of file webPortalTheme.class.php.
References Context\getInstance().
| WebPortalTheme::init | ( | ) |
Init theme.
Definition at line 96 of file webPortalTheme.class.php.
References $conf, $context, $db, $mysoc, getDolGlobalInt(), getDolGlobalString(), Context\getInstance(), Context\getRootConfigUrl(), and loadPrimaryColor().
Referenced by __construct().
| WebPortalTheme::loadPrimaryColor | ( | ) |
Load hex of primary theme color.
Definition at line 130 of file webPortalTheme.class.php.
References colorArrayToHex(), colorHexToHsl(), colorStringToArray(), colorValidateHex(), and getDolGlobalString().
Referenced by init().