Bitrix API

SharingSlotsListItem extends ContentBlock uses FormatTrait

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

formatDuration()  : string
formatTime()  : string
getRendererName()  : string
getRule()  : array<string|int, mixed>|null
getScope()  : string|null
getSort()  : int|null
setRule()  : self
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

formatDuration()

public formatDuration(int $diffMinutes) : string
Parameters
$diffMinutes : int
Return values
string

formatTime()

public formatTime(int $minutes) : string
Parameters
$minutes : int
Return values
string

getRule()

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

getScope()

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

getSort()

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

setRule()

public setRule(array<string|int, mixed>|null $rule) : self
Parameters
$rule : array<string|int, mixed>|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

toArray()

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

        
On this page

Search results