LineOfTextBlocks
extends ContentBlock
Table of Contents
Constants
-
SCOPE_MOBILE
= 'mobile'
-
SCOPE_WEB
= 'web'
Methods
-
addContentBlock()
: self
-
getContentBlocks()
: array<string|int, ContentBlock>
-
getContentBlocksCount()
: int
-
getRendererName()
: string
-
getScope()
: string|null
-
getSort()
: int|null
-
isEmpty()
: bool
-
setButton()
: self
-
setContentBlocks()
: $this
-
setDelimiter()
: self
-
setScope()
: self
-
setScopeMobile()
: self
-
setScopeWeb()
: self
-
setSort()
: self
-
setTextColor()
: self
-
toArray()
: array<string|int, mixed>
SCOPE_MOBILE
public
mixed
SCOPE_MOBILE
= 'mobile'
SCOPE_WEB
public
mixed
SCOPE_WEB
= 'web'
addContentBlock()
public
addContentBlock(string $id, ContentBlock $textContentBlock) : self
Parameters
-
$id
: string
-
-
$textContentBlock
: ContentBlock
-
getContentBlocks()
public
getContentBlocks() : array<string|int, ContentBlock>
getContentBlocksCount()
public
getContentBlocksCount() : int
getRendererName()
public
getRendererName() : string
getScope()
public
getScope() : string|null
Return values
string|null
getSort()
public
getSort() : int|null
isEmpty()
public
isEmpty() : bool
public
setButton(LineOfTextBlocksButton|null $button) : self
Parameters
-
$button
: LineOfTextBlocksButton|null
-
setContentBlocks()
public
setContentBlocks(array<string|int, Text>|array<string|int, EditableDate> $blocks) : $this
Parameters
-
$blocks
: array<string|int, Text>|array<string|int, EditableDate>
-
-
throws
-
ArgumentTypeException
setDelimiter()
public
setDelimiter(string|null $delimiter) : self
Parameters
-
$delimiter
: string|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
-
setTextColor()
public
setTextColor(string|null $color) : self
Parameters
-
$color
: string|null
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>