ESP32 Platform Documentation

DevicesDashboardModule extends DashboardModule

Dashboard Module

Table of Contents

Properties

$css_class  : string
Custom css class
$data  : mixed
Used for the view
$sort  : int
Sort order
$visible  : bool
Visiblity state, default is true

Methods

__construct()  : mixed
getCssClass()  : string
Returns custom css class
getSort()  : int
Returns sort order
getVisibility()  : bool
Returns true if module is visible, false if not
index()  : string
load_devices_views()  : mixed

Properties

$visible

Visiblity state, default is true

protected bool $visible = true

Methods

getCssClass()

Returns custom css class

public getCssClass() : string
Return values
string

getSort()

Returns sort order

public getSort() : int
Return values
int

getVisibility()

Returns true if module is visible, false if not

public getVisibility() : bool
Return values
bool

load_devices_views()

private load_devices_views(mixed &$data, mixed &$devices) : mixed
Parameters
$data : mixed
$devices : mixed

        
On this page

Search results