Bitrix API

RestAppLayoutBlocks extends ContentBlock

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

__construct()  : mixed
getContentBlockName()  : string
getProperties()  : array<string|int, mixed>|null
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

__construct()

public __construct(int $itemTypeId, int $itemId, array<string|int, mixed> $restAppInfo, array<string|int, mixed> $contentBlocks) : mixed
Parameters
$itemTypeId : int
$itemId : int
$restAppInfo : array<string|int, mixed>
$contentBlocks : array<string|int, mixed>

getProperties()

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

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

toArray()

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

        
On this page

Search results