Threshold
extends CacheModel
in package
Class Threshold
Table of Contents
Properties
- $country : Country
- $user : User
- $create_time : mixed
- $update_time : mixed
- $country_id : mixed
- $reach_month_day : mixed
- $threshold : mixed
- $user_id : mixed
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
- getCountryId() : int
- getCreateTime() : mixed
- getReachMonthDay() : mixed
- getThe() : mixed
- getThreshold() : mixed
- getUpdateTime() : mixed
- getUserId() : mixed
- initialize() : mixed
- mapper() : mixed
- save() : bool
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : void
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$country read-only
public
Country
$country
$user read-only
public
User
$user
$create_time
protected
mixed
$create_time
$update_time
protected
mixed
$update_time
$country_id
private
mixed
$country_id
$reach_month_day
private
mixed
$reach_month_day
$threshold
private
mixed
$threshold
$user_id
private
mixed
$user_id
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
getCountryId()
public
getCountryId() : int
Return values
intgetCreateTime()
public
getCreateTime() : mixed
getReachMonthDay()
public
getReachMonthDay() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getThreshold()
public
getThreshold() : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : mixed
initialize()
public
initialize() : mixed
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
save()
public
final save([mixed $data = null ][, mixed $whiteList = null ]) : bool
Parameters
- $data : mixed = null
- $whiteList : mixed = null
Return values
boolset()
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
$thissetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thissetUserId()
public
setUserId(mixed $user_id) : void
Parameters
- $user_id : mixed
writeAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed