Parse
extends CacheModel
in package
Table of Contents
Constants
- PARSE_TYPE_REFUND = 2
- PARSE_TYPE_SALE = 1
Properties
- $desc : mixed
- $module_id : mixed
- $source : mixed
- $table : mixed
- $trans_type : mixed
- $type : mixed
- $create_time : mixed
- $update_time : 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
- getCreateTime() : mixed
- getDesc() : mixed
- Get the value of desc
- getModuleId() : mixed
- Get the value of module_id
- getSource() : mixed
- Get the value of source
- getTable() : mixed
- Get the value of table
- getThe() : mixed
- getTransType() : mixed
- Get the value of trans_type
- getType() : mixed
- Get the value of type
- getUpdateTime() : mixed
- initialize() : mixed
- mapper() : mixed
- save() : bool
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setDesc() : self
- Set the value of desc
- setModuleId() : self
- Set the value of module_id
- setSource() : self
- Set the value of source
- setTable() : self
- Set the value of table
- setTransType() : self
- Set the value of trans_type
- setType() : self
- Set the value of type
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Constants
PARSE_TYPE_REFUND
public
mixed
PARSE_TYPE_REFUND
= 2
PARSE_TYPE_SALE
public
mixed
PARSE_TYPE_SALE
= 1
Properties
$desc
public
mixed
$desc
$module_id
public
mixed
$module_id
$source
public
mixed
$source
$table
public
mixed
$table
$trans_type
public
mixed
$trans_type
$type
public
mixed
$type
$create_time
protected
mixed
$create_time
$update_time
protected
mixed
$update_time
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
getDesc()
Get the value of desc
public
getDesc() : mixed
getModuleId()
Get the value of module_id
public
getModuleId() : mixed
getSource()
Get the value of source
public
getSource() : mixed
getTable()
Get the value of table
public
getTable() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getTransType()
Get the value of trans_type
public
getTransType() : mixed
getType()
Get the value of type
public
getType() : mixed
getUpdateTime()
public
getUpdateTime() : 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
$thissetDesc()
Set the value of desc
public
setDesc(mixed $desc) : self
Parameters
- $desc : mixed
Return values
selfsetModuleId()
Set the value of module_id
public
setModuleId(mixed $module_id) : self
Parameters
- $module_id : mixed
Return values
selfsetSource()
Set the value of source
public
setSource(mixed $source) : self
Parameters
- $source : mixed
Return values
selfsetTable()
Set the value of table
public
setTable(mixed $table) : self
Parameters
- $table : mixed
Return values
selfsetTransType()
Set the value of trans_type
public
setTransType(mixed $trans_type) : self
Parameters
- $trans_type : mixed
Return values
selfsetType()
Set the value of type
public
setType(mixed $type) : self
Parameters
- $type : mixed
Return values
selfsetUpdateTime()
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