Documentation

PullType extends CacheModel
in package

Table of Contents

Constants

PULL_TYPE_ORDER  = 1
PULL_TYPE_PRODUCT  = 4
PULL_TYPE_SALE  = 2
PULL_TYPE_VAT  = 3

Properties

$id  : mixed
$name  : 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
getId()  : mixed
Get the value of id
getName()  : mixed
Get the value of name
getThe()  : mixed
getUpdateTime()  : mixed
initialize()  : mixed
mapper()  : mixed
set()  : mixed
setCreateTime()  : $this
If $createTime is null, default value now.
setId()  : self
Set the value of id
setName()  : self
Set the value of name
setUpdateTime()  : $this
If $updateTime is null, default value now.
writeAttributeIfNeeded()  : mixed
_createKey()  : mixed

Constants

PULL_TYPE_ORDER

public mixed PULL_TYPE_ORDER = 1

PULL_TYPE_PRODUCT

public mixed PULL_TYPE_PRODUCT = 4

PULL_TYPE_SALE

public mixed PULL_TYPE_SALE = 2

PULL_TYPE_VAT

public mixed PULL_TYPE_VAT = 3

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

getId()

Get the value of id

public getId() : mixed

getName()

Get the value of name

public getName() : mixed

getThe()

public static getThe(mixed $paramater) : mixed
Parameters
$paramater : 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

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

setId()

Set the value of id

public setId(mixed $id) : self
Parameters
$id : mixed
Return values
self

setName()

Set the value of name

public setName(mixed $name) : self
Parameters
$name : mixed
Return values
self

setUpdateTime()

If $updateTime is null, default value now.

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

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