Bitrix API

Text extends ContentBlock implements TextPropertiesInterface uses TextPropertiesMixin

Table of Contents

Interfaces

TextPropertiesInterface

Constants

COLOR_BASE_50  = 'base_50'
COLOR_BASE_60  = 'base_60'
COLOR_BASE_70  = 'base_70'
COLOR_BASE_90  = 'base_90'
COLOR_GREEN  = 'green'
COLOR_PURPLE  = 'purple'
DECORATION_DASHED  = 'dashed'
DECORATION_DOTTED  = 'dotted'
DECORATION_NONE  = 'none'
DECORATION_UNDERLINE  = 'underline'
FONT_SIZE_MD  = 'md'
FONT_SIZE_SM  = 'sm'
FONT_SIZE_XS  = 'xs'
FONT_WEIGHT_BOLD  = 'bold'
FONT_WEIGHT_MEDIUM  = 'medium'
FONT_WEIGHT_NORMAL  = 'normal'
SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

getColor()  : string|null
getDecoration()  : string|null
getFontSize()  : string|null
getFontWeight()  : string|null
getIsBold()  : bool|null
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
getTitle()  : string|null
getValue()  : string|null
isMultiline()  : bool|null
setColor()  : self
setDecoration()  : self
setFontSize()  : self
setFontWeight()  : self
setIsBold()  : self
setIsMultiline()  : self
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setTitle()  : self
setValue()  : self
toArray()  : array<string|int, mixed>

Constants

COLOR_BASE_50

public mixed COLOR_BASE_50 = 'base_50'

COLOR_BASE_60

public mixed COLOR_BASE_60 = 'base_60'

COLOR_BASE_70

public mixed COLOR_BASE_70 = 'base_70'

COLOR_BASE_90

public mixed COLOR_BASE_90 = 'base_90'

COLOR_GREEN

public mixed COLOR_GREEN = 'green'

COLOR_PURPLE

public mixed COLOR_PURPLE = 'purple'

DECORATION_DASHED

public mixed DECORATION_DASHED = 'dashed'

DECORATION_DOTTED

public mixed DECORATION_DOTTED = 'dotted'

DECORATION_NONE

public mixed DECORATION_NONE = 'none'

DECORATION_UNDERLINE

public mixed DECORATION_UNDERLINE = 'underline'

FONT_SIZE_MD

public mixed FONT_SIZE_MD = 'md'

FONT_SIZE_SM

public mixed FONT_SIZE_SM = 'sm'

FONT_SIZE_XS

public mixed FONT_SIZE_XS = 'xs'

FONT_WEIGHT_BOLD

public mixed FONT_WEIGHT_BOLD = 'bold'

FONT_WEIGHT_MEDIUM

public mixed FONT_WEIGHT_MEDIUM = 'medium'

FONT_WEIGHT_NORMAL

public mixed FONT_WEIGHT_NORMAL = 'normal'

Methods

getFontSize()

public getFontSize() : string|null
Return values
string|null

getFontWeight()

public getFontWeight() : string|null
Return values
string|null

getIsBold()

public getIsBold() : bool|null
Return values
bool|null

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

getTitle()

public getTitle() : string|null
Return values
string|null

getValue()

public getValue() : string|null
Return values
string|null

isMultiline()

public isMultiline() : bool|null
Return values
bool|null

setColor()

public setColor(string|null $color) : self
Parameters
$color : string|null
Return values
self

setDecoration()

public setDecoration(string|null $decoration) : self
Parameters
$decoration : string|null
Return values
self

setFontSize()

public setFontSize(string|null $fontSize) : self
Parameters
$fontSize : string|null
Return values
self

setFontWeight()

public setFontWeight(string|null $fontWeight) : self
Parameters
$fontWeight : string|null
Return values
self

setIsBold()

public setIsBold(bool|null $isBold) : self
Parameters
$isBold : bool|null
Return values
self

setIsMultiline()

public setIsMultiline([bool|null $isMultiline = true ]) : self
Parameters
$isMultiline : bool|null = true
Return values
self

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

setTitle()

public setTitle(string|null $title) : self
Parameters
$title : string|null
Return values
self

setValue()

public setValue(string|null $value) : self
Parameters
$value : string|null
Return values
self

toArray()

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

        
On this page

Search results