Bitrix API

ExpandableList extends ContentBlock

FinalYes

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

addListItem()  : self
getListItems()  : array<string|int, ExpandableListItem>
getRendererName()  : string
getScope()  : string|null
getShowMoreCnt()  : int
getShowMoreText()  : string|null
getSort()  : int|null
getTitle()  : string
isShowMoreEnabled()  : bool
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setShowMoreCnt()  : self
setShowMoreEnabled()  : self
setShowMoreText()  : self
setSort()  : self
setTitle()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

getRendererName()

public getRendererName() : string
Return values
string

getScope()

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

getShowMoreCnt()

public getShowMoreCnt() : int
Return values
int

getShowMoreText()

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

getSort()

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

isShowMoreEnabled()

public isShowMoreEnabled() : bool
Return values
bool

setScope()

public setScope(string|null $scope) : self
Parameters
$scope : string|null
Return values
self

setScopeMobile()

public setScopeMobile() : self
Return values
self

setScopeWeb()

public setScopeWeb() : self
Return values
self

setShowMoreCnt()

public setShowMoreCnt(int $showMoreCnt) : self
Parameters
$showMoreCnt : int
Return values
self

setShowMoreEnabled()

public setShowMoreEnabled(bool $showMoreEnabled) : self
Parameters
$showMoreEnabled : bool
Return values
self

setShowMoreText()

public setShowMoreText(string|null $showMoreText) : self
Parameters
$showMoreText : string|null
Return values
self

setSort()

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

setTitle()

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

toArray()

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

        
On this page

Search results