Bitrix API

LineOfTextBlocks extends ContentBlock

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

addContentBlock()  : self
getContentBlocks()  : array<string|int, ContentBlock>
getContentBlocksCount()  : int
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
isEmpty()  : bool
setButton()  : self
setContentBlocks()  : $this
setDelimiter()  : self
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setTextColor()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

getContentBlocksCount()

public getContentBlocksCount() : int
Return values
int

getRendererName()

public getRendererName() : string
Return values
string

getScope()

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

getSort()

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

setContentBlocks()

public setContentBlocks(array<string|int, Text>|array<string|int, EditableDate$blocks) : $this
Parameters
$blocks : array<string|int, Text>|array<string|int, EditableDate>
Tags
throws
ArgumentTypeException
Return values
$this

setDelimiter()

public setDelimiter(string|null $delimiter) : self
Parameters
$delimiter : string|null
Return values
self

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

setSort()

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

setTextColor()

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

toArray()

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

        
On this page

Search results