Bitrix API

Note extends ContentBlock

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

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

Constants

Methods

__construct()

public __construct(Context $context, int|null $id, string $text, int $itemType, int $itemId[, User|null $updatedBy = null ]) : mixed
Parameters
$context : Context
$id : int|null
$text : string
$itemType : int
$itemId : int
$updatedBy : User|null = null

createEmpty()

public static createEmpty(Context $context, int $itemType, int $itemId) : self
Parameters
$context : Context
$itemType : int
$itemId : int
Return values
self

getId()

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

getProperties()

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

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

getText()

public getText() : string
Return values
string

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