item
extends staticModel
in package
implements
JsonSerializable
Word Ban Item Object
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $cache : cache
- Cache object
- $cacheModule : string
- Cache Modul
- $cacheName : string
- Cache name
- $config : config
- Config object
- $data : array<string|int, mixed>
- Data array
- $events : events
- Event list
- $language : language
- Sprachobjekt
- $notifications : notifications
- Notifications
- $permissions : permissions
- Permissions
- $session : session
- Session objekt
- $class : string
- Calendar item CSS class
- $dateTime : DateTime
- Calendar date time object
- $id : string
- Calendar item ID
- $label : string
- Calendar item label
- $src : string
- Calendar item source
- __construct() : void
- Constructor
- getCacheName() : string
- Cache-Name zurückgeben
- getClass() : string
- Get item class
- getDate() : string
- Get date string
- getId() : string
- Get calendar item ID
- getLabel() : string
- Get item label
- getSrc() : string
- Get item source
- jsonSerialize() : mixed
- Retrieve JSON object data
- setClass() : $this
- Set item css class
- setLabel() : $this
- Set item label
- setSrc() : $this
- Set item source
Properties
$cache
Cache object
protected
cache
$cache
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Tags
$cacheName
Cache name
protected
string
$cacheName
= false
$config
Config object
protected
config
$config
$data
Data array
protected
array<string|int, mixed>
$data
$events
Event list
protected
events
$events
$language
Sprachobjekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
Tags
$permissions
Permissions
protected
permissions
$permissions
Tags
$session
Session objekt
protected
session
$session
$class
Calendar item CSS class
private
string
$class
= 'btn-info bg-opacity-75'
$dateTime
Calendar date time object
private
DateTime
$dateTime
$id
Calendar item ID
private
string
$id
= ''
$label
Calendar item label
private
string
$label
= ''
$src
Calendar item source
private
string
$src
= ''
Methods
__construct()
Constructor
public
__construct(DateTime|string|int $dateTime) : void
Parameters
- $dateTime : DateTime|string|int
Return values
void —getCacheName()
Cache-Name zurückgeben
public
getCacheName([string $addName = '' ]) : string
Parameters
- $addName : string = ''
Return values
string —getClass()
Get item class
public
getClass() : string
Return values
string —getDate()
Get date string
public
getDate() : string
Return values
string —getId()
Get calendar item ID
public
getId() : string
Return values
string —getLabel()
Get item label
public
getLabel() : string
Return values
string —getSrc()
Get item source
public
getSrc() : string
Return values
string —jsonSerialize()
Retrieve JSON object data
public
jsonSerialize() : mixed
Return values
mixed —setClass()
Set item css class
public
setClass(string $class) : $this
Parameters
- $class : string
Return values
$this —setLabel()
Set item label
public
setLabel(string $label[, array<string|int, mixed> $replaceParams = [] ][, bool $spf = false ]) : $this
Parameters
- $label : string
- $replaceParams : array<string|int, mixed> = []
- $spf : bool = false
Return values
$this —setSrc()
Set item source
public
setSrc(string $src) : $this
Parameters
- $src : string