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>
SCOPE_MOBILE
public
mixed
SCOPE_MOBILE
= 'mobile'
SCOPE_WEB
public
mixed
SCOPE_WEB
= 'web'
__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
-
getId()
public
getId() : int|null
getProperties()
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>
getRendererName()
public
getRendererName() : string
getScope()
public
getScope() : string|null
Return values
string|null
getSort()
public
getSort() : int|null
getText()
public
getText() : string
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>