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>
SCOPE_MOBILE
public
mixed
SCOPE_MOBILE
= 'mobile'
SCOPE_WEB
public
mixed
SCOPE_WEB
= 'web'
__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>
-
getContentBlockName()
public
getContentBlockName() : string
getProperties()
public
getProperties() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getRendererName()
public
getRendererName() : string
getScope()
public
getScope() : string|null
Return values
string|null
getSort()
public
getSort() : int|null
setScope()
public
setScope(string|null $scope) : self
Parameters
-
$scope
: string|null
-
setScopeMobile()
public
setScopeMobile() : self
setScopeWeb()
public
setScopeWeb() : self
setSort()
public
setSort(int|null $sort) : self
Parameters
-
$sort
: int|null
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>