Bitrix API

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>

Methods

__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>
Return values
self

addChild()

public addChild(Item $item) : self
Parameters
$item : Item
Return values
self

addChildren()

public addChildren(array<string|int, mixed> $children) : self
Parameters
$children : array<string|int, mixed>
Return values
self

addTab()

public addTab(mixed $tabId) : self
Parameters
$tabId : mixed
Return values
self

getAvatar()

public getAvatar() : string|null
Return values
string|null

getBadges()

public getBadges() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getCaption()

public getCaption() : string|null
Return values
string|null

getContextSort()

public getContextSort() : int|null
Return values
int|null

getEntityId()

public getEntityId() : string
Return values
string

getEntityType()

public getEntityType() : string|null
Return values
string|null

getGlobalSort()

public getGlobalSort() : int|null
Return values
int|null

getId()

public getId() : mixed
public getLink() : string|null
Return values
string|null

getLinkTitle()

public getLinkTitle() : string|null
Return values
string|null

getSort()

public getSort() : int|null
Return values
int|null

getSubtitle()

public getSubtitle() : string|null
Return values
string|null

getSupertitle()

public getSupertitle() : string|null
Return values
string|null

getTabs()

public getTabs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTextColor()

public getTextColor() : string|null
Return values
string|null

getTitle()

public getTitle() : string
Return values
string

isAvailableInRecentTab()

public isAvailableInRecentTab() : bool
Return values
bool

isDeselectable()

public isDeselectable() : bool
Return values
bool

isHidden()

public isHidden() : bool
Return values
bool

isSaveable()

public isSaveable() : bool
Return values
bool

isSearchable()

public isSearchable() : bool
Return values
bool

isSelected()

public isSelected() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : mixed

setAvailableInRecentTab()

public setAvailableInRecentTab([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self

setAvatar()

public setAvatar(string|null $avatar) : self
Parameters
$avatar : string|null
Return values
self

setAvatarOptions()

public setAvatarOptions(array<string|int, mixed> $avatarOptions) : self
Parameters
$avatarOptions : array<string|int, mixed>
Return values
self

setBadges()

public setBadges(array<string|int, mixed> $badges) : self
Parameters
$badges : array<string|int, mixed>
Return values
self

setBadgesOptions()

public setBadgesOptions(array<string|int, mixed> $badgesOptions) : self
Parameters
$badgesOptions : array<string|int, mixed>
Return values
self

setCaption()

public setCaption(mixed $caption) : self
Parameters
$caption : mixed
Return values
self

setCaptionOptions()

public setCaptionOptions(array<string|int, mixed> $captionOptions) : self
Parameters
$captionOptions : array<string|int, mixed>
Return values
self

setContextSort()

public setContextSort(int|null $sort) : self
Parameters
$sort : int|null
Return values
self

setCustomData()

public setCustomData(array<string|int, mixed> $customData) : self
Parameters
$customData : array<string|int, mixed>
Return values
self

setDeselectable()

public setDeselectable([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self

setDialog()

public setDialog(Dialog $dialog) : self
Parameters
$dialog : Dialog
Return values
self

setEntityType()

public setEntityType(string $type) : self
Parameters
$type : string
Return values
self

setGlobalSort()

public setGlobalSort(int|null $sort) : self
Parameters
$sort : int|null
Return values
self

setHidden()

public setHidden([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self
public setLink(string|null $link) : self
Parameters
$link : string|null
Return values
self

setLinkTitle()

public setLinkTitle(mixed $linkTitle) : self
Parameters
$linkTitle : mixed
Return values
self

setNodeOptions()

public setNodeOptions(array<string|int, mixed> $nodeOptions) : self
Parameters
$nodeOptions : array<string|int, mixed>
Return values
self

setSaveable()

public setSaveable([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self

setSearchable()

public setSearchable([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self

setSelected()

public setSelected([bool $flag = true ]) : self
Parameters
$flag : bool = true
Return values
self

setSort()

public setSort(int|null $sort) : self
Parameters
$sort : int|null
Return values
self

setSubtitle()

public setSubtitle(mixed $subtitle) : self
Parameters
$subtitle : mixed
Return values
self

setSupertitle()

public setSupertitle(mixed $supertitle) : self
Parameters
$supertitle : mixed
Return values
self

setTagOptions()

public setTagOptions(array<string|int, mixed> $nodeOptions) : self
Parameters
$nodeOptions : array<string|int, mixed>
Return values
self

setTextColor()

public setTextColor(string|null $textColor) : self
Parameters
$textColor : string|null
Return values
self

setTitle()

public setTitle(mixed $title) : self
Parameters
$title : mixed
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results