DashboardPreset implements JsonSerializable
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $defaultWidgets : array<string|int, mixed>
- $description : string
- $iconIdentifier : string
- $identifier : string
- $showInWizard : bool
- $title : string
Methods
- __construct() : mixed
-
getDefaultWidgets()
: array<int, array{identifier: string, settings?: array
}> - getDescription() : string
- getIconIdentifier() : string
- getIdentifier() : string
- getTitle() : string
- isShowInWizard() : bool
- jsonSerialize() : array<string|int, mixed>
- getLanguageService() : LanguageService
Properties
$defaultWidgets
protected
array<string|int, mixed>
$defaultWidgets
= []
$description
protected
string
$description
$iconIdentifier
protected
string
$iconIdentifier
= 'content-dashboard'
$identifier
protected
string
$identifier
$showInWizard
protected
bool
$showInWizard
= true
$title
protected
string
$title
Methods
__construct()
public
__construct(string $identifier, string $title, string $description[, string $iconIdentifier = 'content-dashboard' ][, array<int, array{identifier: string, settings?: array}> $defaultWidgets = [] ][, bool $showInWizard = true ]) : mixed
Parameters
- $identifier : string
- $title : string
- $description : string
- $iconIdentifier : string = 'content-dashboard'
-
$defaultWidgets
: array<int, array{identifier: string, settings?: array
}> = [] - $showInWizard : bool = true
getDefaultWidgets()
public
getDefaultWidgets() : array<int, array{identifier: string, settings?: array}>
Return values
array<int, array{identifier: string, settings?: arraygetDescription()
public
getDescription() : string
Return values
stringgetIconIdentifier()
public
getIconIdentifier() : string
Return values
stringgetIdentifier()
public
getIdentifier() : string
Return values
stringgetTitle()
public
getTitle() : string
Return values
stringisShowInWizard()
public
isShowInWizard() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>getLanguageService()
protected
getLanguageService() : LanguageService