Bitrix API

Date extends ContentBlock implements TextPropertiesInterface uses TextPropertiesMixin

Table of Contents

Interfaces

TextPropertiesInterface

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

getColor()  : string|null
getDate()  : DateTime|null
getDecoration()  : string|null
getDuration()  : int|null
getFontSize()  : string|null
getFontWeight()  : string|null
getFormat()  : string|null
getIsBold()  : bool|null
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
getTitle()  : string|null
isWithTime()  : bool
setColor()  : self
setDate()  : self
setDecoration()  : self
setDuration()  : self
setFontSize()  : self
setFontWeight()  : self
setFormat()  : Date
setIsBold()  : self
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setTitle()  : self
setWithTime()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

getDuration()

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

getFormat()

public getFormat() : string|null
Return values
string|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

isWithTime()

public isWithTime() : bool
Return values
bool

setColor()

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

setDate()

public setDate(DateTime|null $date) : self
Parameters
$date : DateTime|null
Return values
self

setDecoration()

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

setDuration()

public setDuration(int|null $duration) : self
Parameters
$duration : int|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

setFormat()

public setFormat(string|null $format) : Date
Parameters
$format : string|null
Return values
Date

setIsBold()

public setIsBold(bool|null $isBold) : self
Parameters
$isBold : bool|null
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

setWithTime()

public setWithTime([bool $withTime = true ]) : self
Parameters
$withTime : bool = true
Return values
self

toArray()

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

        
On this page

Search results