Lizmap Web Client Master

lizmapTheme
in package

Manage and give access to lizmap theme configuration.

Tags
author

3liz

copyright

2016 3liz

see
http://3liz.com
license

Mozilla Public License : http://www.mozilla.org/MPL/

Table of Contents

Properties

$additionalCss  : mixed
$dockBackgroundColor  : mixed
$headerBackgroundColor  : mixed
$headerBackgroundImage  : mixed
$headerLogo  : mixed
$headerLogoWidth  : mixed
$headerSubtitleColor  : mixed
$headerTitleColor  : mixed
$menuBackgroundColor  : mixed
$navbarColor  : mixed
$config  : mixed
$data  : mixed
$properties  : mixed

Methods

__construct()  : mixed
getProperties()  : mixed
Get theme properties.
modify()  : mixed
Modify the theme.
save()  : mixed
Save the theme.
update()  : mixed
Update the theme. (modify and save).
buildCssThemeContent()  : mixed
Build the theme main css content based one the properties saved.
writeThemeCssFile()  : mixed
Write the theme css file based one the properties saved.

Properties

$properties

private mixed $properties = array('headerLogo', 'headerLogoWidth', 'headerBackgroundImage', 'headerBackgroundColor', 'headerTitleColor', 'headerSubtitleColor', 'menuBackgroundColor', 'dockBackgroundColor', 'navbarColor', 'additionalCss')

Methods

modify()

Modify the theme.

public modify(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

array containing the data of the theme

update()

Update the theme. (modify and save).

public update(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

array containing the data of the theme

buildCssThemeContent()

Build the theme main css content based one the properties saved.

private buildCssThemeContent() : mixed

writeThemeCssFile()

Write the theme css file based one the properties saved.

private writeThemeCssFile() : mixed

        
On this page

Search results