|
static | runActions ($code, array $typeList=array()) |
|
static | getPoolByCode ($code) |
|
static | get ($code, $type) |
|
static | getByIndex ($code, $type, $index) |
|
static | add ($code, $type, $value) |
|
static | delete ($code, $type, $index) |
|
static | isTypeExists ($code, $type) |
|
static | resetPool ($code=null, $type=null) |
|
См. определение в файле actionentity.php строка 7
◆ runActions()
static runActions |
( |
|
$code, |
|
|
array |
$typeList = array() |
|
) |
| |
|
static |
- Аргументы
-
- Возвращает
- Result
См. определение в файле actionentity.php строка 20
22 $result =
new Result();
23 $actionsList = static::getPoolByCode($code);
25 if (empty($actionsList))
32 $typeList = array_keys($actionsList);
40 foreach ($typeList as $type)
42 if (!isset($actionsList[$type]))
45 foreach ($actionsList[$type] as $actionParams)
48 $r = call_user_func_array($actionParams[
'METHOD'], $actionParams[
'PARAMS']);
52 $result->addErrors($r->getErrors());
55 if ($r->hasWarnings())
57 $result->addWarnings($r->getWarnings());
61 static::resetPool($code, $type);
◆ $pool
◆ ACTION_ENTITY_SHIPMENT_COLLECTION_RESERVED_QUANTITY
const ACTION_ENTITY_SHIPMENT_COLLECTION_RESERVED_QUANTITY = 'shipment_collection_reserved_quantity' |
◆ ACTION_ENTITY_SHIPMENT_RESERVED_QUANTITY
const ACTION_ENTITY_SHIPMENT_RESERVED_QUANTITY = 'shipment_reserved_quantity' |
Объявления и описания членов класса находятся в файле: