|
static | getClassesList () |
|
static | prepareParamsToSave ($params) |
|
static | getAdminParamsControl ($className, $name, array $params) |
|
static | getValuesForShipment ($shipmentId, $deliveryId) |
|
static | saveValuesForShipment ($shipmentId, $extraServices) |
|
static | getStoreIdForShipment ($shipmentId, $deliveryId) |
|
static | saveStoreIdForShipment ($shipmentId, $deliveryId, $storeId) |
|
static | getStoresFields ($deliveryId, $onlyActive=true) |
|
static | getStoresList ($deliveryId) |
|
static | deleteStores ($deliveryId) |
|
static | setStoresUnActive ($deliveryId) |
|
static | saveStores ($deliveryId, array $storesList) |
|
static | getExtraServicesList ($deliveryId, $stores=false) |
|
static | prepareData (array $servicesIds) |
|
См. определение в файле manager.php строка 17
◆ __construct()
__construct |
( |
| $initParam, |
|
|
| $currency = "", |
|
|
| $values = array(), |
|
|
array | $additionalParams = array() ) |
Manager constructor.
- Аргументы
-
array | int | $initParam | |
string | $currency | |
array | $values | |
array | $additionalParams | |
См. определение в файле manager.php строка 41
◆ addItem()
addItem |
( |
| $params, |
|
|
| $currency, |
|
|
| $value = null, |
|
|
array | $additionalParams = array() ) |
- Аргументы
-
array | $params | |
string | $currency | |
mixed | $value | |
array | $additionalParams | |
- Возвращает
- bool
- Исключения
-
ArgumentNullException | |
SystemException | |
См. определение в файле manager.php строка 236
◆ createClone()
createClone |
( |
\SplObjectStorage | $cloneEntity | ) |
|
◆ deleteStores()
static deleteStores |
( |
| $deliveryId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
Exception
См. определение в файле manager.php строка 571
◆ getAdminParamsControl()
static getAdminParamsControl |
( |
| $className, |
|
|
| $name, |
|
|
array | $params ) |
|
static |
- Аргументы
-
string | $className | |
string | $name | |
array | $params | |
- Возвращает
- string Html for extra service administration
- Исключения
-
ArgumentNullException | |
SystemException | |
См. определение в файле manager.php строка 216
◆ getClassesList()
static getClassesList |
( |
| ) |
|
|
static |
- Возвращает
- array Classes list
См. определение в файле manager.php строка 74
◆ getExtraServicesList()
static getExtraServicesList |
( |
| $deliveryId, |
|
|
| $stores = false ) |
|
static |
- Аргументы
-
int | $deliveryId | |
bool | $stores | |
- Возвращает
- array
- Исключения
-
См. определение в файле manager.php строка 667
◆ getItem()
- Аргументы
-
- Возвращает
- Base|null
См. определение в файле manager.php строка 146
◆ getItemByCode()
- Аргументы
-
- Возвращает
- Base|null
См. определение в файле manager.php строка 155
◆ getItems()
◆ getStoreIdForShipment()
static getStoreIdForShipment |
( |
| $shipmentId, |
|
|
| $deliveryId ) |
|
static |
- Аргументы
-
int | $shipmentId | |
int | $deliveryId | |
- Возвращает
- int
См. определение в файле manager.php строка 436
◆ getStoresFields()
static getStoresFields |
( |
| $deliveryId, |
|
|
| $onlyActive = true ) |
|
static |
- Аргументы
-
int | $deliveryId | |
bool | $onlyActive | |
- Возвращает
- array
См. определение в файле manager.php строка 538
◆ getStoresList()
static getStoresList |
( |
| $deliveryId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
См. определение в файле manager.php строка 560
◆ getStoresValueId()
static getStoresValueId |
( |
| $deliveryId | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- int
См. определение в файле manager.php строка 521
◆ getTotalCost()
- Возвращает
- float total cost
См. определение в файле manager.php строка 793
◆ getTotalCostShipment()
getTotalCostShipment |
( |
Shipment | $shipment = null | ) |
|
- Аргументы
-
- Возвращает
- float
См. определение в файле manager.php строка 168
◆ getValuesForShipment()
static getValuesForShipment |
( |
| $shipmentId, |
|
|
| $deliveryId ) |
|
static |
- Аргументы
-
int | $shipmentId | |
int | $deliveryId | |
- Возвращает
- array
См. определение в файле manager.php строка 288
◆ isClone()
◆ prepareData()
static prepareData |
( |
array | $servicesIds | ) |
|
|
static |
◆ prepareParamsToSave()
static prepareParamsToSave |
( |
| $params | ) |
|
|
static |
Prepares fields for saving
- Аргументы
-
- Возвращает
- mixed
См. определение в файле manager.php строка 183
◆ saveStoreIdForShipment()
static saveStoreIdForShipment |
( |
| $shipmentId, |
|
|
| $deliveryId, |
|
|
| $storeId ) |
|
static |
- Аргументы
-
int | $shipmentId | |
int | $deliveryId | |
int | $storeId | |
- Возвращает
- Result
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Exception
См. определение в файле manager.php строка 470
◆ saveStores()
static saveStores |
( |
| $deliveryId, |
|
|
array | $storesList ) |
|
static |
- Аргументы
-
int | $deliveryId | |
array | $storesList | |
- Возвращает
- Result
- Исключения
-
Exception
См. определение в файле manager.php строка 620
◆ saveValuesForShipment()
static saveValuesForShipment |
( |
| $shipmentId, |
|
|
| $extraServices ) |
|
static |
- Аргументы
-
int | $shipmentId | |
array | $extraServices | |
- Возвращает
- Result
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Exception
См. определение в файле manager.php строка 316
◆ setOperationCurrency()
setOperationCurrency |
( |
| $currency | ) |
|
◆ setStoresUnActive()
static setStoresUnActive |
( |
| $deliveryId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
Exception
См. определение в файле manager.php строка 591
◆ setValues()
setValues |
( |
array | $values = array() | ) |
|
◆ $cachedFields
◆ $classes
◆ $isClone
◆ $items
◆ RIGHTS_ADMIN_IDX
const RIGHTS_ADMIN_IDX = 0 |
◆ RIGHTS_CLIENT_IDX
const RIGHTS_CLIENT_IDX = 2 |
◆ RIGHTS_MANAGER_IDX
const RIGHTS_MANAGER_IDX = 1 |
◆ STORE_PICKUP_CLASS
◆ STORE_PICKUP_CODE
const STORE_PICKUP_CODE = 'BITRIX_STORE_PICKUP' |