Bitrix API

EditableDate extends Date uses Actionable

Table of Contents

Constants

BACKGROUND_COLOR_DEFAULT  = 'default'
BACKGROUND_COLOR_NONE  = 'none'
BACKGROUND_COLOR_WARNING  = 'warning'
SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'
STYLE_PILL  = 'pill'
STYLE_PILL_INLINE_GROUP  = 'pill-inline-group'
STYLE_TEXT  = 'text'

Methods

getAction()  : Action|null
getBackgroundColor()  : string|null
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
getStyle()  : string
getTitle()  : string|null
isReadonly()  : bool|null
isWithTime()  : bool
setAction()  : self
setBackgroundColor()  : self
setColor()  : self
setDate()  : self
setDecoration()  : self
setDuration()  : self
setFontSize()  : self
setFontWeight()  : self
setFormat()  : Date
setIsBold()  : self
setReadonly()  : self
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setStyle()  : self
setTitle()  : self
setWithTime()  : self
toArray()  : array<string|int, mixed>

Constants

BACKGROUND_COLOR_DEFAULT

public mixed BACKGROUND_COLOR_DEFAULT = 'default'

BACKGROUND_COLOR_NONE

public mixed BACKGROUND_COLOR_NONE = 'none'

BACKGROUND_COLOR_WARNING

public mixed BACKGROUND_COLOR_WARNING = 'warning'

STYLE_PILL_INLINE_GROUP

public mixed STYLE_PILL_INLINE_GROUP = 'pill-inline-group'

Methods

getBackgroundColor()

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

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

getStyle()

public getStyle() : string
Return values
string

isReadonly()

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

isWithTime()

public isWithTime() : bool
Return values
bool

setAction()

public setAction(Action|null $action) : self
Parameters
$action : Action|null
Return values
self

setBackgroundColor()

public setBackgroundColor(string|null $backgroundColor) : self
Parameters
$backgroundColor : string|null
Return values
self

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

setReadonly()

public setReadonly(bool $isReadonly) : self
Parameters
$isReadonly : bool
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

setStyle()

public setStyle(string $style) : self
Parameters
$style : string
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