Item
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Methods
-
__construct()
: mixed
-
addBadges()
: self
-
addChild()
: self
-
addChildren()
: self
-
addTab()
: self
-
getAvatar()
: string|null
-
getAvatarOptions()
: Dictionary
-
getBadges()
: array<string|int, mixed>|null
-
getBadgesOptions()
: Dictionary
-
getCaption()
: string|null
-
getCaptionNode()
: TextNode|null
-
getCaptionOptions()
: Dictionary
-
getChildren()
: ItemCollection
-
getContextSort()
: int|null
-
getCustomData()
: Dictionary
-
getDialog()
: Dialog|null
-
getEntityId()
: string
-
getEntityType()
: string|null
-
getGlobalSort()
: int|null
-
getId()
: mixed
-
getLink()
: string|null
-
getLinkTitle()
: string|null
-
getLinkTitleNode()
: TextNode|null
-
getNodeOptions()
: Dictionary
-
getSort()
: int|null
-
getSubtitle()
: string|null
-
getSubtitleNode()
: TextNode|null
-
getSupertitle()
: string|null
-
getSupertitleNode()
: TextNode|null
-
getTabs()
: array<string|int, mixed>
-
getTagOptions()
: Dictionary
-
getTextColor()
: string|null
-
getTitle()
: string
-
getTitleNode()
: TextNode|null
-
isAvailableInRecentTab()
: bool
-
isDeselectable()
: bool
-
isHidden()
: bool
-
isSaveable()
: bool
-
isSearchable()
: bool
-
isSelected()
: bool
-
jsonSerialize()
: mixed
-
setAvailableInRecentTab()
: self
-
setAvatar()
: self
-
setAvatarOptions()
: self
-
setBadges()
: self
-
setBadgesOptions()
: self
-
setCaption()
: self
-
setCaptionOptions()
: self
-
setContextSort()
: self
-
setCustomData()
: self
-
setDeselectable()
: self
-
setDialog()
: self
-
setEntityType()
: self
-
setGlobalSort()
: self
-
setHidden()
: self
-
setLink()
: self
-
setLinkTitle()
: self
-
setNodeOptions()
: self
-
setSaveable()
: self
-
setSearchable()
: self
-
setSelected()
: self
-
setSort()
: self
-
setSubtitle()
: self
-
setSupertitle()
: self
-
setTagOptions()
: self
-
setTextColor()
: self
-
setTitle()
: self
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(array<string|int, mixed> $options) : mixed
Parameters
-
$options
: array<string|int, mixed>
-
addBadges()
public
addBadges(array<string|int, mixed> $badges) : self
Parameters
-
$badges
: array<string|int, mixed>
-
addChild()
public
addChild(Item $item) : self
Parameters
-
$item
: Item
-
addChildren()
public
addChildren(array<string|int, mixed> $children) : self
Parameters
-
$children
: array<string|int, mixed>
-
addTab()
public
addTab(mixed $tabId) : self
Parameters
-
$tabId
: mixed
-
getAvatar()
public
getAvatar() : string|null
Return values
string|null
getAvatarOptions()
public
getAvatarOptions() : Dictionary
getBadges()
public
getBadges() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getBadgesOptions()
public
getBadgesOptions() : Dictionary
getCaption()
public
getCaption() : string|null
Return values
string|null
getCaptionNode()
public
getCaptionNode() : TextNode|null
getCaptionOptions()
public
getCaptionOptions() : Dictionary
getChildren()
public
getChildren() : ItemCollection
getContextSort()
public
getContextSort() : int|null
getCustomData()
public
getCustomData() : Dictionary
getDialog()
public
getDialog() : Dialog|null
getEntityId()
public
getEntityId() : string
getEntityType()
public
getEntityType() : string|null
Return values
string|null
getGlobalSort()
public
getGlobalSort() : int|null
getId()
public
getId() : mixed
getLink()
public
getLink() : string|null
Return values
string|null
getLinkTitle()
public
getLinkTitle() : string|null
Return values
string|null
getLinkTitleNode()
public
getLinkTitleNode() : TextNode|null
getNodeOptions()
public
getNodeOptions() : Dictionary
getSort()
public
getSort() : int|null
getSubtitle()
public
getSubtitle() : string|null
Return values
string|null
getSubtitleNode()
public
getSubtitleNode() : TextNode|null
getSupertitle()
public
getSupertitle() : string|null
Return values
string|null
getSupertitleNode()
public
getSupertitleNode() : TextNode|null
getTabs()
public
getTabs() : array<string|int, mixed>
Return values
array<string|int, mixed>
getTagOptions()
public
getTagOptions() : Dictionary
getTextColor()
public
getTextColor() : string|null
Return values
string|null
getTitle()
public
getTitle() : string
getTitleNode()
public
getTitleNode() : TextNode|null
isAvailableInRecentTab()
public
isAvailableInRecentTab() : bool
isDeselectable()
public
isDeselectable() : bool
isHidden()
public
isHidden() : bool
isSaveable()
public
isSaveable() : bool
isSearchable()
public
isSearchable() : bool
isSelected()
public
isSelected() : bool
jsonSerialize()
public
jsonSerialize() : mixed
setAvailableInRecentTab()
public
setAvailableInRecentTab([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setAvatar()
public
setAvatar(string|null $avatar) : self
Parameters
-
$avatar
: string|null
-
setAvatarOptions()
public
setAvatarOptions(array<string|int, mixed> $avatarOptions) : self
Parameters
-
$avatarOptions
: array<string|int, mixed>
-
setBadges()
public
setBadges(array<string|int, mixed> $badges) : self
Parameters
-
$badges
: array<string|int, mixed>
-
setBadgesOptions()
public
setBadgesOptions(array<string|int, mixed> $badgesOptions) : self
Parameters
-
$badgesOptions
: array<string|int, mixed>
-
setCaption()
public
setCaption(mixed $caption) : self
Parameters
-
$caption
: mixed
-
setCaptionOptions()
public
setCaptionOptions(array<string|int, mixed> $captionOptions) : self
Parameters
-
$captionOptions
: array<string|int, mixed>
-
setContextSort()
public
setContextSort(int|null $sort) : self
Parameters
-
$sort
: int|null
-
setCustomData()
public
setCustomData(array<string|int, mixed> $customData) : self
Parameters
-
$customData
: array<string|int, mixed>
-
setDeselectable()
public
setDeselectable([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setDialog()
public
setDialog(Dialog $dialog) : self
Parameters
-
$dialog
: Dialog
-
setEntityType()
public
setEntityType(string $type) : self
Parameters
-
$type
: string
-
setGlobalSort()
public
setGlobalSort(int|null $sort) : self
Parameters
-
$sort
: int|null
-
setHidden()
public
setHidden([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setLink()
public
setLink(string|null $link) : self
Parameters
-
$link
: string|null
-
setLinkTitle()
public
setLinkTitle(mixed $linkTitle) : self
Parameters
-
$linkTitle
: mixed
-
setNodeOptions()
public
setNodeOptions(array<string|int, mixed> $nodeOptions) : self
Parameters
-
$nodeOptions
: array<string|int, mixed>
-
setSaveable()
public
setSaveable([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setSearchable()
public
setSearchable([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setSelected()
public
setSelected([bool $flag = true ]) : self
Parameters
-
$flag
: bool
= true
-
setSort()
public
setSort(int|null $sort) : self
Parameters
-
$sort
: int|null
-
setSubtitle()
public
setSubtitle(mixed $subtitle) : self
Parameters
-
$subtitle
: mixed
-
setSupertitle()
public
setSupertitle(mixed $supertitle) : self
Parameters
-
$supertitle
: mixed
-
setTagOptions()
public
setTagOptions(array<string|int, mixed> $nodeOptions) : self
Parameters
-
$nodeOptions
: array<string|int, mixed>
-
setTextColor()
public
setTextColor(string|null $textColor) : self
Parameters
-
$textColor
: string|null
-
setTitle()
public
setTitle(mixed $title) : self
Parameters
-
$title
: mixed
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>