Cronpull
extends CacheModel
in package
Table of Contents
Constants
- NAME_TYPE_ASSOC = [1 => 1, 'SALE' => 1, 'SALES' => 1, '_GET_AMAZON_FULFILLED_SHIPMENTS_DATA_' => 1, 2 => 2, 'ORDER' => 2, 'ORDERS' => 2, '_GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_' => 2, 3 => 3, 'VAT' => 3, 'VATS' => 3, '_GET_VAT_TRANSACTION_DATA_' => 3, 4 => 4, 'PRODUCT' => 4, 'PRODUCTS' => 4, '_GET_MERCHANT_LISTINGS_ALL_DATA_' => 41]
- PULL_TYPE_ID_AMAZON_ORDER = 2
- PULL_TYPE_ID_AMAZON_PRODUCT = 4
- PULL_TYPE_ID_AMAZON_SALE = 1
- PULL_TYPE_ID_AMAZON_VAT = 3
- TYPE_NAME_ASSOC = [self::PULL_TYPE_ID_AMAZON_SALE => 'sale', self::PULL_TYPE_ID_AMAZON_ORDER => 'order', self::PULL_TYPE_ID_AMAZON_VAT => 'vat', self::PULL_TYPE_ID_AMAZON_PRODUCT => 'product']
Properties
- $create_time : mixed
- $update_time : mixed
- $active : mixed
- $id : mixed
- $in_progress : mixed
- $market_id : mixed
- $module_id : mixed
- $next_check : mixed
- $pull_type : mixed
- $pull_type_id : mixed
- $status : mixed
- $user_id : mixed
Methods
- __toString() : mixed
- 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
- getActive() : mixed
- getCreateTime() : mixed
- getId() : mixed
- getInProgress() : mixed
- getMarketId() : mixed
- getModuleId() : mixed
- getNextCheck() : mixed
- getPullTypeId() : mixed
- getStatus() : mixed
- getThe() : mixed
- getUpdateTime() : mixed
- getUserid() : mixed
- initialize() : mixed
- mapper() : mixed
- MovementPullTypeIdList() : mixed
- ProductPullTypeIdList() : mixed
- set() : mixed
- setActive() : static
- setCreateTime() : $this
- If $createTime is null, default value now.
- setInProgress() : static
- setMarketId() : static
- setModuleId() : static
- setNextCheck() : static
- setPull_type_id() : static
- setPullType() : static
- setStatus() : static
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- setUserId() : static
- type() : mixed
- typeName() : mixed
- typeNameof() : mixed
- typeOf() : mixed
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
Constants
NAME_TYPE_ASSOC
public
mixed
NAME_TYPE_ASSOC
= [1 => 1, 'SALE' => 1, 'SALES' => 1, '_GET_AMAZON_FULFILLED_SHIPMENTS_DATA_' => 1, 2 => 2, 'ORDER' => 2, 'ORDERS' => 2, '_GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_' => 2, 3 => 3, 'VAT' => 3, 'VATS' => 3, '_GET_VAT_TRANSACTION_DATA_' => 3, 4 => 4, 'PRODUCT' => 4, 'PRODUCTS' => 4, '_GET_MERCHANT_LISTINGS_ALL_DATA_' => 41]
PULL_TYPE_ID_AMAZON_ORDER
public
mixed
PULL_TYPE_ID_AMAZON_ORDER
= 2
PULL_TYPE_ID_AMAZON_PRODUCT
public
mixed
PULL_TYPE_ID_AMAZON_PRODUCT
= 4
PULL_TYPE_ID_AMAZON_SALE
public
mixed
PULL_TYPE_ID_AMAZON_SALE
= 1
PULL_TYPE_ID_AMAZON_VAT
public
mixed
PULL_TYPE_ID_AMAZON_VAT
= 3
TYPE_NAME_ASSOC
public
mixed
TYPE_NAME_ASSOC
= [self::PULL_TYPE_ID_AMAZON_SALE => 'sale', self::PULL_TYPE_ID_AMAZON_ORDER => 'order', self::PULL_TYPE_ID_AMAZON_VAT => 'vat', self::PULL_TYPE_ID_AMAZON_PRODUCT => 'product']
Properties
$create_time
protected
mixed
$create_time
$update_time
protected
mixed
$update_time
$active
private
mixed
$active
$id
private
mixed
$id
$in_progress
private
mixed
$in_progress
$market_id
private
mixed
$market_id
$module_id
private
mixed
$module_id
$next_check
private
mixed
$next_check
$pull_type
private
mixed
$pull_type
$pull_type_id
private
mixed
$pull_type_id
$status
private
mixed
$status
$user_id
private
mixed
$user_id
Methods
__toString()
public
__toString() : mixed
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
getActive()
public
getActive() : mixed
getCreateTime()
public
getCreateTime() : mixed
getId()
public
getId() : mixed
getInProgress()
public
getInProgress() : mixed
getMarketId()
public
getMarketId() : mixed
getModuleId()
public
getModuleId() : mixed
getNextCheck()
public
getNextCheck() : mixed
getPullTypeId()
public
getPullTypeId() : mixed
getStatus()
public
getStatus() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : 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
MovementPullTypeIdList()
public
static MovementPullTypeIdList() : mixed
ProductPullTypeIdList()
public
static ProductPullTypeIdList() : mixed
set()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setActive()
public
setActive(mixed $active) : static
Parameters
- $active : mixed
Return values
staticsetCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetInProgress()
public
setInProgress(mixed $in_progress) : static
Parameters
- $in_progress : mixed
Return values
staticsetMarketId()
public
setMarketId(mixed $market_id) : static
Parameters
- $market_id : mixed
Return values
staticsetModuleId()
public
setModuleId(mixed $module_id) : static
Parameters
- $module_id : mixed
Return values
staticsetNextCheck()
public
setNextCheck(mixed $nextCheck) : static
Parameters
- $nextCheck : mixed
Return values
staticsetPull_type_id()
public
setPull_type_id(mixed $pull_type_id) : static
Parameters
- $pull_type_id : mixed
Return values
staticsetPullType()
public
setPullType(mixed $pull_type) : static
Parameters
- $pull_type : mixed
Return values
staticsetStatus()
public
setStatus(mixed $status) : static
Parameters
- $status : mixed
Return values
staticsetUpdateTime()
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) : static
Parameters
- $user_id : mixed
Return values
statictype()
public
type() : mixed
typeName()
public
typeName() : mixed
typeNameof()
public
static typeNameof(mixed $type) : mixed
Parameters
- $type : mixed
typeOf()
public
static typeOf(mixed $type) : mixed
Parameters
- $type : mixed
writeAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed