Bitrix API

Client extends ContentBlock

FinalYes

Table of Contents

Constants

BLOCK_WITH_FIXED_TITLE  = 2
BLOCK_WITH_FORMATTED_VALUE  = 1
SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

__construct()  : mixed
build()  : ContentBlock|null
getName()  : string
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setTitle()  : self
toArray()  : array<string|int, mixed>

Constants

BLOCK_WITH_FIXED_TITLE

public mixed BLOCK_WITH_FIXED_TITLE = 2

BLOCK_WITH_FORMATTED_VALUE

public mixed BLOCK_WITH_FORMATTED_VALUE = 1

Methods

__construct()

public __construct(array<string|int, mixed> $data[, int $options = 0 ]) : mixed
Parameters
$data : array<string|int, mixed>
$options : int = 0

getName()

public getName() : string
Return values
string

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

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

setTitle()

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

toArray()

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

        
On this page

Search results