ViewItem
in package
FinalYes
Table of Contents
Properties
- $cssClass : string|null
- $title : string|null
- $type : ViewItemType|null
- $value : mixed
Methods
- __construct() : mixed
- getCssClass() : string|null
- getTitle() : string|null
- getType() : ViewItemType|null
- getValue() : mixed
- setCssClass() : static
- setTitle() : static
- setType() : static
- setValue() : static
Properties
$cssClass
private
string|null
$cssClass
= null
$title
private
string|null
$title
= null
$type
private
ViewItemType|null
$type
= null
$value
private
mixed
$value
= null
Methods
__construct()
public
__construct([string|null $title = null ][, mixed $value = null ][, ViewItemType|null $type = null ][, string|null $cssClass = null ]) : mixed
Parameters
- $title : string|null = null
- $value : mixed = null
- $type : ViewItemType|null = null
- $cssClass : string|null = null
getCssClass()
public
getCssClass() : string|null
Return values
string|nullgetTitle()
public
getTitle() : string|null
Return values
string|nullgetType()
public
getType() : ViewItemType|null
Return values
ViewItemType|nullgetValue()
public
getValue() : mixed
setCssClass()
public
setCssClass(string|null $cssClass) : static
Parameters
- $cssClass : string|null
Return values
staticsetTitle()
public
setTitle(string $title) : static
Parameters
- $title : string
Return values
staticsetType()
public
setType(ViewItemType $type) : static
Parameters
- $type : ViewItemType
Return values
staticsetValue()
public
setValue(mixed $value) : static
Parameters
- $value : mixed