1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
b24enabler.php
См. документацию.
1<?php
2
4
7
8class B24Enabler extends Enabler
9{
10 public static function enable(array $options = []): Result
11 {
12 $result = parent::enable($options);
13 if (!$result->isSuccess())
14 {
15 return $result;
16 }
17
18 CostPriceCalculator::setMethod(
19 $options['costPriceCalculationMethod'] ?? CostPriceCalculator::METHOD_AVERAGE
20 );
21
22 return $result;
23 }
24
25 public static function disable(): Result
26 {
27 $result = parent::disable();
28 if (!$result->isSuccess())
29 {
30 return $result;
31 }
32
33 return $result;
34 }
35}
static enable(array $options=[])
Определения b24enabler.php:10
$options
Определения commerceml2.php:49
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14