|
| static | addField ($entityName, $orderId, $field, $oldValue=null, $value=null, $id=null, $entity=null, array $fields=array()) |
| static | addAction ($entityName, $orderId, $type, $id=null, $entity=null, array $fields=array(), $level=null) |
| static | collectEntityFields ($entityName, $orderId, $id=null) |
| static | deleteByOrderId ($id) |
| static | addLog ($entityName, $orderId, $type, $id=null, $entity=null, array $fields=array(), $level=null) |
| static | checkLogLevel ($level) |
| static | checkActionLogLevel ($level) |
| static | deleteOldAgent ($days, $hitLimit=null) |
| static | getManagerLogItems () |
|
| static | getPoolByEntity ($entity, $orderId) |
| static | prepareDataForAdd ($entityName, $type, $entity=null, array $data=array()) |
| static | addRecord ($entityName, $orderId, $type, $id=null, $entity=null, array $data=array()) |
| static | addInternal ($fields) |
| static | getOperationType ($entityName, $type) |
| static | getList (array $parameters=array()) |
| static | deleteInternal ($primary) |
| static | deleteOldInternal ($days, $limit=null) |
См. определение в файле orderhistory.php строка 11
◆ __construct()
◆ addAction()
| addAction |
( |
| $entityName, |
|
|
| $orderId, |
|
|
| $type, |
|
|
| $id = null, |
|
|
| $entity = null, |
|
|
array | $fields = array(), |
|
|
| $level = null ) |
|
static |
- Аргументы
-
| $entityName | |
| $orderId | |
| $type | |
| null | $id | |
| null | $entity | |
| array | $fields | |
| null | $level | |
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле orderhistory.php строка 97
◆ addField()
| addField |
( |
| $entityName, |
|
|
| $orderId, |
|
|
| $field, |
|
|
| $oldValue = null, |
|
|
| $value = null, |
|
|
| $id = null, |
|
|
| $entity = null, |
|
|
array | $fields = array() ) |
|
static |
- Аргументы
-
| string | $entityName | |
| int | $orderId | |
| string | $field | |
| null | string | $oldValue | |
| null | string | $value | |
| int | $id | |
| $entity | |
| array | $fields | |
См. определение в файле orderhistory.php строка 46
◆ addInternal()
- Аргументы
-
- Возвращает
- Main\Entity\AddResult
- Исключения
-
Exception
См. определение в файле orderhistory.php строка 350
◆ addLog()
| addLog |
( |
| $entityName, |
|
|
| $orderId, |
|
|
| $type, |
|
|
| $id = null, |
|
|
| $entity = null, |
|
|
array | $fields = array(), |
|
|
| $level = null ) |
|
static |
- Аргументы
-
| $entityName | |
| $orderId | |
| $type | |
| null | $id | |
| null | $entity | |
| array | $fields | |
| null | $level | |
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле orderhistory.php строка 461
◆ addRecord()
| addRecord |
( |
| $entityName, |
|
|
| $orderId, |
|
|
| $type, |
|
|
| $id = null, |
|
|
| $entity = null, |
|
|
array | $data = array() ) |
|
staticprotected |
- Аргументы
-
| $entityName | |
| $orderId | |
| $type | |
| null | $id | |
| null | Entity | $entity | |
| array | $data | |
См. определение в файле orderhistory.php строка 328
◆ checkActionLogLevel()
| checkActionLogLevel |
( |
| $level | ) |
|
|
static |
- Аргументы
-
- Возвращает
- bool
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле orderhistory.php строка 517
◆ checkLogLevel()
- Аргументы
-
- Возвращает
- bool
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле orderhistory.php строка 500
◆ collectEntityFields()
| collectEntityFields |
( |
| $entityName, |
|
|
| $orderId, |
|
|
| $id = null ) |
|
static |
- Аргументы
-
| $entityName | |
| $orderId | |
| null | int | $id | |
- Возвращает
- bool
См. определение в файле orderhistory.php строка 123
◆ deleteByOrderId()
- Аргументы
-
- Возвращает
- bool
- Исключения
-
ArgumentException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
- Исключения
-
Exception
См. определение в файле orderhistory.php строка 409
◆ deleteInternal()
| deleteInternal |
( |
| $primary | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- Main\Entity\DeleteResult
- Исключения
-
Exception
См. определение в файле orderhistory.php строка 444
◆ deleteOldAgent()
| deleteOldAgent |
( |
| $days, |
|
|
| $hitLimit = null ) |
|
static |
Delete old records on an agent
- Аргументы
-
- Возвращает
- string
- Исключения
-
ArgumentException
- Исключения
-
ObjectException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
- Исключения
-
Exception
См. определение в файле orderhistory.php строка 581
◆ deleteOldInternal()
| deleteOldInternal |
( |
| $days, |
|
|
| $limit = null ) |
|
staticprotected |
- Аргументы
-
- Возвращает
- bool
- Исключения
-
ArgumentException
- Исключения
-
ObjectException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
- Исключения
-
Exception
См. определение в файле orderhistory.php строка 541
◆ getList()
- Аргументы
-
- Возвращает
- Main\DB\Result
- Исключения
-
ArgumentException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
См. определение в файле orderhistory.php строка 434
◆ getManagerLogItems()
◆ getOperationType()
| getOperationType |
( |
| $entityName, |
|
|
| $type ) |
|
staticprotected |
◆ getPoolByEntity()
| getPoolByEntity |
( |
| $entity, |
|
|
| $orderId ) |
|
staticprotected |
◆ prepareDataForAdd()
| prepareDataForAdd |
( |
| $entityName, |
|
|
| $type, |
|
|
| $entity = null, |
|
|
array | $data = array() ) |
|
staticprotected |
- Аргументы
-
| $entityName | |
| $type | |
| Entity | $entity | |
| array | $data | |
- Возвращает
- array
См. определение в файле orderhistory.php строка 301
◆ $pool
◆ $poolFields
◆ FIELD_TYPE_NAME
| const FIELD_TYPE_NAME = 'NAME' |
◆ FIELD_TYPE_TYPE
| const FIELD_TYPE_TYPE = 'TYPE' |
◆ SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_0
| const SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_0 = 0 |
◆ SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_1
| const SALE_ORDER_HISTORY_ACTION_LOG_LEVEL_1 = 1 |
◆ SALE_ORDER_HISTORY_LOG_LEVEL_0
| const SALE_ORDER_HISTORY_LOG_LEVEL_0 = 0 |
◆ SALE_ORDER_HISTORY_LOG_LEVEL_1
| const SALE_ORDER_HISTORY_LOG_LEVEL_1 = 1 |
◆ SALE_ORDER_HISTORY_RECORD_TYPE_ACTION
| const SALE_ORDER_HISTORY_RECORD_TYPE_ACTION = 'ACTION' |
◆ SALE_ORDER_HISTORY_RECORD_TYPE_DEBUG
| const SALE_ORDER_HISTORY_RECORD_TYPE_DEBUG = 'DEBUG' |
◆ SALE_ORDER_HISTORY_RECORD_TYPE_FIELD
| const SALE_ORDER_HISTORY_RECORD_TYPE_FIELD = 'FIELD' |
◆ SALE_ORDER_HISTORY_UPDATE
| const SALE_ORDER_HISTORY_UPDATE = 'UPDATE' |
Объявления и описания членов класса находятся в файле: