Documentation

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

Methods

assignJobMergedData()

public assignJobMergedData() : mixed

exists()

public exists() : bool
Return values
bool

fetchAsArray()

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|false

fixParameters()

public static fixParameters([mixed $parameters = null ]) : mixed
Parameters
$parameters : mixed = null

fromArray()

public static fromArray(mixed $array) : mixed
Parameters
$array : mixed

getThe()

public static getThe(mixed $paramater) : mixed
Parameters
$paramater : mixed

getThresholdAlmostReached()

public getThresholdAlmostReached() : bool
Return values
bool

getTooManyUnreadNotifications()

public getTooManyUnreadNotifications() : bool
Return values
bool

mapper()

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
$this

setNewReportsAvailable()

public setNewReportsAvailable(bool $new_reports_available) : $this
Parameters
$new_reports_available : bool
Return values
$this

setNoDataReceived()

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
$this

setThresholdIsReached()

public setThresholdIsReached(bool $threshold_is_reached) : $this
Parameters
$threshold_is_reached : bool
Return values
$this

setTooManyUnreadNotifications()

public setTooManyUnreadNotifications(bool $too_many_unread_notifications) : $this
Parameters
$too_many_unread_notifications : bool
Return values
$this

setUpdateTime()

If $updateTime is null, default value now.

public setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
$updateTime : mixed = null
Return values
$this

setUserId()

public setUserId(int $user_id) : $this
Parameters
$user_id : int
Return values
$this

setYearlyEntriesAdded()

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

        
On this page

Search results