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>
SCOPE_MOBILE
public
mixed
SCOPE_MOBILE
= 'mobile'
SCOPE_WEB
public
mixed
SCOPE_WEB
= 'web'
public
formatDuration(int $diffMinutes) : string
Parameters
-
$diffMinutes
: int
-
public
formatTime(int $minutes) : string
Parameters
-
$minutes
: int
-
getRendererName()
public
getRendererName() : 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
setRule()
public
setRule(array<string|int, mixed>|null $rule) : self
Parameters
-
$rule
: array<string|int, mixed>|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
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>