Helpdesk_Working_Hour_Entity
extends Core_Empty_Entity
in package
Counter.
Tags
Table of Contents
Properties
- $hour0 : mixed
- Backend property
- $hour1 : mixed
- Backend property
- $hour10 : mixed
- Backend property
- $hour11 : mixed
- Backend property
- $hour12 : mixed
- Backend property
- $hour13 : mixed
- Backend property
- $hour14 : mixed
- Backend property
- $hour15 : mixed
- Backend property
- $hour16 : mixed
- Backend property
- $hour17 : mixed
- Backend property
- $hour18 : mixed
- Backend property
- $hour19 : mixed
- Backend property
- $hour2 : mixed
- Backend property
- $hour20 : mixed
- Backend property
- $hour21 : mixed
- Backend property
- $hour22 : mixed
- Backend property
- $hour23 : mixed
- Backend property
- $hour3 : mixed
- Backend property
- $hour4 : mixed
- Backend property
- $hour5 : mixed
- Backend property
- $hour6 : mixed
- Backend property
- $hour7 : mixed
- Backend property
- $hour8 : mixed
- Backend property
- $hour9 : mixed
- Backend property
- $id : mixed
- Backend property
- $name : mixed
- Backend property
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_modelName : mixed
- Model name
- $_tableColums : array<string|int, mixed>
- Table columns
Methods
- __construct() : mixed
- Constructor
- apply() : self
- Execute "Apply" action
- getDataValues() : array<string|int, mixed>
- Get dataValues
- getModelName() : string
- Get model name, e.g. 'book' for 'Book_Model'
- getPrimaryKeyName() : string
- Get primary key name
- getRelatedSite() : null
- Get Related Site
- getTableColumns() : array<string|int, mixed>
- Get table columns
- setTableColums() : self
- Set table columns
- switchOff() : self
- Execute "off" action
- switchOn() : self
- Execute "on" action
- _execute() : self
- Execute business logic
- _loadColumns() : self
- Load columns list
- _on() : self
- Add working hour to helpdesk
Properties
$hour0
Backend property
public
mixed
$hour0
= \NULL
$hour1
Backend property
public
mixed
$hour1
= \NULL
$hour10
Backend property
public
mixed
$hour10
= \NULL
$hour11
Backend property
public
mixed
$hour11
= \NULL
$hour12
Backend property
public
mixed
$hour12
= \NULL
$hour13
Backend property
public
mixed
$hour13
= \NULL
$hour14
Backend property
public
mixed
$hour14
= \NULL
$hour15
Backend property
public
mixed
$hour15
= \NULL
$hour16
Backend property
public
mixed
$hour16
= \NULL
$hour17
Backend property
public
mixed
$hour17
= \NULL
$hour18
Backend property
public
mixed
$hour18
= \NULL
$hour19
Backend property
public
mixed
$hour19
= \NULL
$hour2
Backend property
public
mixed
$hour2
= \NULL
$hour20
Backend property
public
mixed
$hour20
= \NULL
$hour21
Backend property
public
mixed
$hour21
= \NULL
$hour22
Backend property
public
mixed
$hour22
= \NULL
$hour23
Backend property
public
mixed
$hour23
= \NULL
$hour3
Backend property
public
mixed
$hour3
= \NULL
$hour4
Backend property
public
mixed
$hour4
= \NULL
$hour5
Backend property
public
mixed
$hour5
= \NULL
$hour6
Backend property
public
mixed
$hour6
= \NULL
$hour7
Backend property
public
mixed
$hour7
= \NULL
$hour8
Backend property
public
mixed
$hour8
= \NULL
$hour9
Backend property
public
mixed
$hour9
= \NULL
$id
Backend property
public
mixed
$id
= \NULL
$name
Backend property
public
mixed
$name
= \NULL
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_modelName
Model name
protected
mixed
$_modelName
= 'helpdesk_working_hour'
$_tableColums
Table columns
protected
array<string|int, mixed>
$_tableColums
= array()
Methods
__construct()
Constructor
public
__construct() : mixed
apply()
Execute "Apply" action
public
apply() : self
Return values
selfgetDataValues()
Get dataValues
public
getDataValues() : array<string|int, mixed>
Return values
array<string|int, mixed>getModelName()
Get model name, e.g. 'book' for 'Book_Model'
public
getModelName() : string
Return values
stringgetPrimaryKeyName()
Get primary key name
public
getPrimaryKeyName() : string
Return values
stringgetRelatedSite()
Get Related Site
public
getRelatedSite() : null
Return values
nullgetTableColumns()
Get table columns
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>setTableColums()
Set table columns
public
setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
- $tableColums : array<string|int, mixed>
-
columns
Return values
selfswitchOff()
Execute "off" action
public
switchOff() : self
Return values
selfswitchOn()
Execute "on" action
public
switchOn() : self
Return values
self_execute()
Execute business logic
protected
_execute(string $action) : self
Parameters
- $action : string
-
action name
Return values
self_loadColumns()
Load columns list
protected
_loadColumns() : self
Return values
self_on()
Add working hour to helpdesk
protected
_on(Helpdesk_Model $oHelpdesk, int $day, int $hour) : self
Parameters
- $oHelpdesk : Helpdesk_Model
-
helpdesk
- $day : int
-
day
- $hour : int
-
hour