DisplayItem
extends Model
in package
implements
DisplayItemInterface
Base class for all items
Interfaces, Classes and Traits
- DisplayItemInterface
- Generic interface for display items.
Table of Contents
- $dateCreated : DateTime
- $dateUpdated : DateTime
- $display_id : int
- $hidden : bool
- $id : int
- $labelHidden : bool
- $labelVisuallyHidden : bool
- $uid : string
- $visuallyHidden : bool
- $_display : DisplayInterface
- defineRules() : array<string|int, mixed>
- fields() : mixed
- getConfig() : array<string|int, mixed>
- Get project vonfig
- getDisplay() : DisplayInterface|null
- Display getter
- getLayout() : LayoutInterface
- Layout getter
- getViewMode() : ViewModeInterface
- View mode getter
- setDisplay() : mixed
- Display setter
Properties
$dateCreated
public
DateTime
$dateCreated
$dateUpdated
public
DateTime
$dateUpdated
$display_id
public
int
$display_id
$hidden
public
bool
$hidden
= false
$id
public
int
$id
$labelHidden
public
bool
$labelHidden
= false
$labelVisuallyHidden
public
bool
$labelVisuallyHidden
= false
$uid
public
string
$uid
$visuallyHidden
public
bool
$visuallyHidden
= false
$_display
protected
DisplayInterface
$_display
Methods
defineRules()
public
defineRules() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —fields()
public
fields() : mixed
Tags
Return values
mixed —getConfig()
Get project vonfig
public
getConfig() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getDisplay()
Display getter
public
getDisplay() : DisplayInterface|null
Tags
Return values
DisplayInterface|null —getLayout()
Layout getter
public
getLayout() : LayoutInterface
Tags
Return values
LayoutInterface —getViewMode()
View mode getter
public
getViewMode() : ViewModeInterface
Tags
Return values
ViewModeInterface —setDisplay()
Display setter
public
setDisplay(DisplayInterface $display) : mixed
Parameters
- $display : DisplayInterface