OrderHistory
Table of Contents
Constants
- FIELD_TYPE_NAME = 'NAME'
- FIELD_TYPE_TYPE = 'TYPE'
- SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_0 = 0
- SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_1 = 1
- SALE_ORDER_HISTORY_LOG_LEVEL_0 = 0
- SALE_ORDER_HISTORY_LOG_LEVEL_1 = 1
- SALE_ORDER_HISTORY_RECORD_TYPE_ACTION = 'ACTION'
- SALE_ORDER_HISTORY_RECORD_TYPE_DEBUG = 'DEBUG'
- SALE_ORDER_HISTORY_RECORD_TYPE_FIELD = 'FIELD'
- SALE_ORDER_HISTORY_UPDATE = 'UPDATE'
Methods
- addAction() : mixed
- addField() : mixed
- addLog() : mixed
- checkActionLogLevel() : bool
- checkLogLevel() : bool
- collectEntityFields() : bool
- deleteByOrderId() : bool
- deleteOldAgent() : string
- Delete old records on an agent
- getManagerLogItems() : array<string|int, mixed>
Constants
FIELD_TYPE_NAME
public
mixed
FIELD_TYPE_NAME
= 'NAME'
FIELD_TYPE_TYPE
public
mixed
FIELD_TYPE_TYPE
= 'TYPE'
SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_0
public
mixed
SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_0
= 0
SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_1
public
mixed
SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_1
= 1
SALE_ORDER_HISTORY_LOG_LEVEL_0
public
mixed
SALE_ORDER_HISTORY_LOG_LEVEL_0
= 0
SALE_ORDER_HISTORY_LOG_LEVEL_1
public
mixed
SALE_ORDER_HISTORY_LOG_LEVEL_1
= 1
SALE_ORDER_HISTORY_RECORD_TYPE_ACTION
public
mixed
SALE_ORDER_HISTORY_RECORD_TYPE_ACTION
= 'ACTION'
SALE_ORDER_HISTORY_RECORD_TYPE_DEBUG
public
mixed
SALE_ORDER_HISTORY_RECORD_TYPE_DEBUG
= 'DEBUG'
SALE_ORDER_HISTORY_RECORD_TYPE_FIELD
public
mixed
SALE_ORDER_HISTORY_RECORD_TYPE_FIELD
= 'FIELD'
SALE_ORDER_HISTORY_UPDATE
public
mixed
SALE_ORDER_HISTORY_UPDATE
= 'UPDATE'
Methods
addAction()
public
static addAction(mixed $entityName, mixed $orderId, mixed $type[, null $id = null ][, null $entity = null ][, array<string|int, mixed> $fields = array() ][, null $level = null ]) : mixed
Parameters
- $entityName : mixed
- $orderId : mixed
- $type : mixed
- $id : null = null
- $entity : null = null
- $fields : array<string|int, mixed> = array()
- $level : null = null
Tags
addField()
public
static addField(string $entityName, int $orderId, string $field[, null|string $oldValue = null ][, null|string $value = null ][, int $id = null ][, mixed $entity = null ][, array<string|int, mixed> $fields = array() ]) : mixed
Parameters
- $entityName : string
- $orderId : int
- $field : string
- $oldValue : null|string = null
- $value : null|string = null
- $id : int = null
- $entity : mixed = null
- $fields : array<string|int, mixed> = array()
addLog()
public
static addLog(mixed $entityName, mixed $orderId, mixed $type[, null $id = null ][, null $entity = null ][, array<string|int, mixed> $fields = array() ][, null $level = null ]) : mixed
Parameters
- $entityName : mixed
- $orderId : mixed
- $type : mixed
- $id : null = null
- $entity : null = null
- $fields : array<string|int, mixed> = array()
- $level : null = null
Tags
checkActionLogLevel()
public
static checkActionLogLevel(mixed $level) : bool
Parameters
- $level : mixed
Tags
Return values
boolcheckLogLevel()
public
static checkLogLevel(mixed $level) : bool
Parameters
- $level : mixed
Tags
Return values
boolcollectEntityFields()
public
static collectEntityFields(mixed $entityName, mixed $orderId[, null|int $id = null ]) : bool
Parameters
- $entityName : mixed
- $orderId : mixed
- $id : null|int = null
Return values
booldeleteByOrderId()
public
static deleteByOrderId(mixed $id) : bool
Parameters
- $id : mixed
Tags
Return values
booldeleteOldAgent()
Delete old records on an agent
public
static deleteOldAgent(mixed $days[, null $hitLimit = null ]) : string
Parameters
- $days : mixed
- $hitLimit : null = null
Tags
Return values
stringgetManagerLogItems()
public
static getManagerLogItems() : array<string|int, mixed>