NotificationSettings
extends CacheModel
in package
Table of Contents
Constants
- REST_MAP = ['new_reports_available' => 'report_begin_mothly', 'threshold_almost_reached' => 'threshold_80_reached', 'threshold_is_reached' => 'threshold_reached', 'too_many_unread_notifications' => 'unread_notifications']
Properties
- $create_time : mixed
- $id : int
- $new_reports_available : bool
- $noDataReceived : bool
- $qualityControlDone : bool
- $threshold_almost_reached : bool
- $threshold_is_reached : bool
- $too_many_unread_notifications : bool
- $update_time : mixed
- $user_id : int
- $yearlyEntriesAdded : bool
Methods
- assignJobMergedData() : mixed
- beforeSave() : mixed
- exists() : bool
- fetchAsArray() : mixed
- fetchAsAssocArray() : mixed
- fetchAsMultiAssocArray() : mixed
- find() : false|array<string|int, static>
- findFirst() : static|false
- fixParameters() : mixed
- fromArray() : mixed
- getCreateTime() : mixed
- getId() : null|int
- getNewReportsAvailable() : bool
- getThe() : mixed
- getThresholdAlmostReached() : bool
- getThresholdIsReached() : bool
- getTooManyUnreadNotifications() : bool
- getUpdateTime() : mixed
- getUserId() : int
- initialize() : mixed
- isNoDataReceived() : bool
- isQualityControlDone() : bool
- isYearlyEntriesAdded() : bool
- mapper() : mixed
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setId() : $this
- setNewReportsAvailable() : $this
- setNoDataReceived() : void
- setQualityControlDone() : void
- setThresholdAlmostReached() : $this
- setThresholdIsReached() : $this
- setTooManyUnreadNotifications() : $this
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : $this
- setYearlyEntriesAdded() : void
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Constants
REST_MAP
public
mixed
REST_MAP
= ['new_reports_available' => 'report_begin_mothly', 'threshold_almost_reached' => 'threshold_80_reached', 'threshold_is_reached' => 'threshold_reached', 'too_many_unread_notifications' => 'unread_notifications']
Properties
$create_time
protected
mixed
$create_time
$id
protected
int
$id
$new_reports_available
protected
bool
$new_reports_available
= true
$noDataReceived
protected
bool
$noDataReceived
$qualityControlDone
protected
bool
$qualityControlDone
$threshold_almost_reached
protected
bool
$threshold_almost_reached
= true
$threshold_is_reached
protected
bool
$threshold_is_reached
= true
$too_many_unread_notifications
protected
bool
$too_many_unread_notifications
= true
$update_time
protected
mixed
$update_time
$user_id
protected
int
$user_id
$yearlyEntriesAdded
protected
bool
$yearlyEntriesAdded
Methods
assignJobMergedData()
public
assignJobMergedData() : mixed
beforeSave()
public
beforeSave() : mixed
exists()
public
exists() : bool
Return values
boolfetchAsArray()
public
static fetchAsArray([mixed $parameter = null ]) : mixed
Parameters
- $parameter : mixed = null
fetchAsAssocArray()
public
static fetchAsAssocArray([mixed $parameter = null ][, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $key : mixed = 'id'
- $cols : mixed = null
fetchAsMultiAssocArray()
public
static fetchAsMultiAssocArray([mixed $parameter = null ][, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $keyname : mixed = ['id']
- $cols : mixed = null
find()
public
static find([array<string|int, mixed>|null|int $parameters = null ]) : false|array<string|int, static>
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
false|array<string|int, static>findFirst()
public
static findFirst([array<string|int, mixed>|null|int $parameters = null ]) : static|false
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
static|falsefixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getCreateTime()
public
getCreateTime() : mixed
getId()
public
getId() : null|int
Return values
null|intgetNewReportsAvailable()
public
getNewReportsAvailable() : bool
Return values
boolgetThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getThresholdAlmostReached()
public
getThresholdAlmostReached() : bool
Return values
boolgetThresholdIsReached()
public
getThresholdIsReached() : bool
Return values
boolgetTooManyUnreadNotifications()
public
getTooManyUnreadNotifications() : bool
Return values
boolgetUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : int
Return values
intinitialize()
public
initialize() : mixed
isNoDataReceived()
public
isNoDataReceived() : bool
Return values
boolisQualityControlDone()
public
isQualityControlDone() : bool
Return values
boolisYearlyEntriesAdded()
public
isYearlyEntriesAdded() : bool
Return values
boolmapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
- $map : array<string|int, mixed>
- $original : array<string|int, mixed>
- $reverse : bool = true
set()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetId()
public
setId(int $id) : $this
Parameters
- $id : int
Return values
$thissetNewReportsAvailable()
public
setNewReportsAvailable(bool $new_reports_available) : $this
Parameters
- $new_reports_available : bool
Return values
$thissetNoDataReceived()
public
setNoDataReceived(bool $noDataReceived) : void
Parameters
- $noDataReceived : bool
setQualityControlDone()
public
setQualityControlDone(bool $qualityControlDone) : void
Parameters
- $qualityControlDone : bool
setThresholdAlmostReached()
public
setThresholdAlmostReached(bool $threshold_almost_reached) : $this
Parameters
- $threshold_almost_reached : bool
Return values
$thissetThresholdIsReached()
public
setThresholdIsReached(bool $threshold_is_reached) : $this
Parameters
- $threshold_is_reached : bool
Return values
$thissetTooManyUnreadNotifications()
public
setTooManyUnreadNotifications(bool $too_many_unread_notifications) : $this
Parameters
- $too_many_unread_notifications : bool
Return values
$thissetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thissetUserId()
public
setUserId(int $user_id) : $this
Parameters
- $user_id : int
Return values
$thissetYearlyEntriesAdded()
public
setYearlyEntriesAdded(bool $yearlyEntriesAdded) : void
Parameters
- $yearlyEntriesAdded : bool
writeAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed