Bitrix API

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

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
throws
ArgumentNullException
throws
ArgumentOutOfRangeException

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
throws
ArgumentNullException
throws
ArgumentOutOfRangeException

checkActionLogLevel()

public static checkActionLogLevel(mixed $level) : bool
Parameters
$level : mixed
Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
Return values
bool

checkLogLevel()

public static checkLogLevel(mixed $level) : bool
Parameters
$level : mixed
Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
Return values
bool

collectEntityFields()

public static collectEntityFields(mixed $entityName, mixed $orderId[, null|int $id = null ]) : bool
Parameters
$entityName : mixed
$orderId : mixed
$id : null|int = null
Return values
bool

deleteByOrderId()

public static deleteByOrderId(mixed $id) : bool
Parameters
$id : mixed
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
throws
Exception
Return values
bool

deleteOldAgent()

Delete old records on an agent

public static deleteOldAgent(mixed $days[, null $hitLimit = null ]) : string
Parameters
$days : mixed
$hitLimit : null = null
Tags
throws
ArgumentException
throws
ObjectException
throws
ObjectPropertyException
throws
SystemException
throws
Exception
Return values
string

getManagerLogItems()

public static getManagerLogItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results