lizmapMapDockItem
in package
Class for items in the main view list.
Tags
Table of Contents
Properties
- $content : string
- $css : string
- $icon : mixed
- $id : string
- $js : string
- $jsParams : array<string|int, mixed>
- $menuIconClasses : mixed
- $order : int
- $title : string
Methods
- __construct() : mixed
- copyFrom() : mixed
- fetchContent() : mixed
Properties
$content
public
string
$content
= ''
HTML displayed in content part.
$css
public
string
$css
= ''
URL to CSS
$icon
public
mixed
$icon
= ''
$id
public
string
$id
= ''
Unique id of the dock item.
$js
public
string
$js
= ''
URL to JS
$jsParams
public
array<string|int, mixed>
$jsParams
= array()
parameters added to script tag. ['type' => 'module'] will override type="text/javascript"
$menuIconClasses
public
mixed
$menuIconClasses
= ''
$order
public
int
$order
= 0
display order in the dock.
$title
public
string
$title
= ''
Title visible on hover.
Methods
__construct()
public
__construct(mixed $id, mixed $title, mixed $content[, mixed $order = 0 ][, mixed $css = '' ][, mixed $js = '' ][, mixed $jsParams = array() ]) : mixed
Parameters
- $id : mixed
- $title : mixed
- $content : mixed
- $order : mixed = 0
- $css : mixed = ''
- $js : mixed = ''
- $jsParams : mixed = array()
copyFrom()
public
copyFrom(mixed $item) : mixed
Parameters
- $item : mixed
fetchContent()
public
fetchContent() : mixed