Documentation

View
in package

FinalYes

Table of Contents

Properties

$contents  : array<string|int, mixed>
$fields  : array<string|int, mixed>
$icon  : Icon
$title  : string
$type  : ViewType

Methods

__construct()  : mixed
addField()  : static
getFields()  : array<string|int, ViewItem>
getIcon()  : Icon
getTitle()  : string
getType()  : ViewType
setIcon()  : static
setTitle()  : static
setType()  : static

Properties

$contents

private array<string|int, mixed> $contents

$fields

private array<string|int, mixed> $fields

$title

private string $title

Methods

__construct()

public __construct(string $title, Icon $icon, array<string|int, object> $contents, array<string|int, ViewItem$fields, ViewType $type) : mixed
Parameters
$title : string
$icon : Icon
$contents : array<string|int, object>
$fields : array<string|int, ViewItem>
$type : ViewType

getTitle()

public getTitle() : string
Return values
string

setIcon()

public setIcon(Icon $icon) : static
Parameters
$icon : Icon
Return values
static

setTitle()

public setTitle(string $title) : static
Parameters
$title : string
Return values
static
On this page

Search results