Country
extends CacheModel
in package
implements
Country
Table of Contents
Interfaces
Properties
- $calling_code : mixed
- $create_time : mixed
- $currency_id : mixed
- $eng_name : mixed
- $eu_member : mixed
- $id : mixed
- $three : mixed
- $threshold_eur : mixed
- $two : mixed
- $update_time : mixed
- $vat_country_id : mixed
- $pattern_check : mixed
- $pattern_parse : 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
- getAllVatTypes() : mixed
- getByEuMember() : mixed
- getCallingCode() : int|null
- getCreateTime() : mixed
- getCurrencyId() : mixed
- Get the value of currency_id.
- getEngName() : mixed
- Get the value of eng_name.
- getEuMember() : mixed
- Get the value of eu_member.
- getFlag() : mixed
- getId() : int
- Get the value of id.
- getIdByTwo() : int|null
- getName() : mixed
- getPatternCheck() : string|null
- getPatternParse() : string|null
- getThe() : mixed
- getThree() : mixed
- Get the value of three.
- getThresholdEur() : mixed
- Get the value of threshold_eur.
- getTwo() : mixed
- Get the value of two.
- getTwoById() : string|null
- getUpdateTime() : mixed
- getVatCountryId() : mixed
- Get the value of vat_country_id.
- 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.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Properties
$calling_code
public
mixed
$calling_code
$create_time
public
mixed
$create_time
$currency_id
public
mixed
$currency_id
$eng_name
public
mixed
$eng_name
$eu_member
public
mixed
$eu_member
$id
public
mixed
$id
$three
public
mixed
$three
$threshold_eur
public
mixed
$threshold_eur
$two
public
mixed
$two
$update_time
public
mixed
$update_time
$vat_country_id
public
mixed
$vat_country_id
$pattern_check
protected
mixed
$pattern_check
$pattern_parse
protected
mixed
$pattern_parse
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
getAllVatTypes()
public
static getAllVatTypes() : mixed
Please don't!
getByEuMember()
public
static getByEuMember([mixed $columns = 'id, eng_name' ]) : mixed
Parameters
- $columns : mixed = 'id, eng_name'
getCallingCode()
public
getCallingCode() : int|null
Return values
int|nullgetCreateTime()
public
getCreateTime() : mixed
getCurrencyId()
Get the value of currency_id.
public
getCurrencyId() : mixed
getEngName()
Get the value of eng_name.
public
getEngName() : mixed
getEuMember()
Get the value of eu_member.
public
getEuMember() : mixed
getFlag()
public
getFlag() : mixed
getId()
Get the value of id.
public
getId() : int
Return values
intgetIdByTwo()
public
static getIdByTwo(string $two) : int|null
Parameters
- $two : string
Return values
int|nullgetName()
public
getName() : mixed
getPatternCheck()
public
getPatternCheck() : string|null
Return values
string|nullgetPatternParse()
public
getPatternParse() : string|null
Return values
string|nullgetThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getThree()
Get the value of three.
public
getThree() : mixed
getThresholdEur()
Get the value of threshold_eur.
public
getThresholdEur() : mixed
getTwo()
Get the value of two.
public
getTwo() : mixed
getTwoById()
public
static getTwoById(int $id) : string|null
Parameters
- $id : int
Return values
string|nullgetUpdateTime()
public
getUpdateTime() : mixed
getVatCountryId()
Get the value of vat_country_id.
public
getVatCountryId() : 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
$thiswriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed