UserTraderCountrySetting
extends CacheModel
in package
Table of Contents
Properties
- $country_id : mixed
- $create_time : mixed
- $trader_type_id : mixed
- $update_time : 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
- getClient() : Client
- getCountry() : Country
- getCountryId() : int|null
- getCreateTime() : mixed
- getThe() : mixed
- getTraderType() : TraderType
- getTraderTypeId() : int|null
- getUpdateTime() : mixed
- getUserId() : int|null
- initialize() : mixed
- mapper() : mixed
- set() : mixed
- setCountryId() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setTraderTypeId() : mixed
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : mixed
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$country_id
protected
mixed
$country_id
$create_time
protected
mixed
$create_time
$trader_type_id
protected
mixed
$trader_type_id
$update_time
protected
mixed
$update_time
$user_id
protected
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
getClient()
public
getClient() : Client
Return values
ClientgetCountry()
public
getCountry() : Country
Return values
CountrygetCountryId()
public
getCountryId() : int|null
Return values
int|nullgetCreateTime()
public
getCreateTime() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getTraderType()
public
getTraderType() : TraderType
Return values
TraderTypegetTraderTypeId()
public
getTraderTypeId() : int|null
Return values
int|nullgetUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : int|null
Return values
int|nullinitialize()
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
set()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setCountryId()
public
setCountryId(int $country_id) : mixed
Parameters
- $country_id : int
setCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetTraderTypeId()
public
setTraderTypeId(mixed $trader_type_id) : mixed
Parameters
- $trader_type_id : mixed
setUpdateTime()
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) : mixed
Parameters
- $user_id : int
writeAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed