Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс Configurable
+ Граф наследования:Configurable:

Открытые члены

 __construct (array $initParams)
 
 prepareFieldsForSaving (array $fields)
 
 isCalculatePriceImmediately ()
 
- Открытые члены унаследованные от Base
 __construct ($id, array $initParams, $currency, $value=null, array $additionalParams=array())
 
 setValue ($value)
 
 getName ()
 
 getDescription ()
 
 getValue ()
 
 getEditControl ($prefix='', $value=false)
 
 getViewControl ()
 
 getPrice ()
 
 canUserEditValue ()
 
 canManagerEditValue ()
 
 getAdminDefaultControl ($prefix='', $value=false)
 
 isStore ()
 
 getParams ()
 
 setOperatingCurrency ($currency)
 
 getOperatingCurrency ()
 
 getCode ()
 
 getId ()
 
 getCostShipment (Shipment $shipment=null)
 
 getCost ()
 
 getPriceShipment (Shipment $shipment=null)
 
 getDisplayValue ()
 
 getInitial ()
 

Открытые статические члены

static getClassTitle ()
 
static getClassDescription ()
 
static getAdminFieldsList ()
 
static onAfterAdd ($serviceId, array $fields=array())
 
static whetherAdminExtraServicesShow ()
 
static isHandlerCompatible ()
 
- Открытые статические члены унаследованные от Base
static getClassTitle ()
 
static prepareParamsToSave (array $params)
 
static getAdminParamsControl ($name, array $params, $currency='')
 
static isInner ()
 
static isEmbeddedOnly ()
 

Защищенные члены

 getPeriodText ()
 
 calculateConcrete (\Bitrix\Sale\Shipment $shipment=null)
 
 getConfigStructure ()
 
- Защищенные члены унаследованные от Base
 convertToOtherCurrency ($value, $currency)
 
 convertToOperatingCurrency ($value)
 

Защищенные данные

 $handlerCode = 'BITRIX_CONFIGURABLE'
 
- Защищенные данные унаследованные от Base
 $id
 
 $code
 
 $name = ''
 
 $description = ''
 
 $className = __CLASS__
 
 $params = array()
 
 $rights
 
 $deliveryId = 0
 
 $initial = ''
 
 $active = false
 
 $sort = 100
 
 $value = null
 
 $currency = ''
 
 $operatingCurrency = ''
 

Статические защищенные данные

static $isCalculatePriceImmediately = true
 
static $whetherAdminExtraServicesShow = true
 

Подробное описание

См. определение в файле configurable.php строка 19

Конструктор(ы)

◆ __construct()

__construct ( array  $initParams)
Аргументы
array$initParamsInitial data params from table record.
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentTypeException

См. определение в файле configurable.php строка 32

Методы

◆ calculateConcrete()

calculateConcrete ( \Bitrix\Sale\Shipment  $shipment = null)
protected

См. определение в файле configurable.php строка 97

◆ getAdminFieldsList()

static getAdminFieldsList ( )
static

См. определение в файле configurable.php строка 191

◆ getClassDescription()

static getClassDescription ( )
static
Возвращает
string Class, service description.

Переопределяется в EmptyDeliveryService.

См. определение в файле configurable.php строка 62

◆ getClassTitle()

static getClassTitle ( )
static
Возвращает
string Class title.

Переопределяет метод предка Base.

Переопределяется в EmptyDeliveryService.

См. определение в файле configurable.php строка 54

◆ getConfigStructure()

getConfigStructure ( )
protected
Возвращает
array
Исключения

Exception

См. определение в файле configurable.php строка 129

◆ getPeriodText()

getPeriodText ( )
protected
Возвращает
string Period text.

См. определение в файле configurable.php строка 70

◆ isCalculatePriceImmediately()

isCalculatePriceImmediately ( )

См. определение в файле configurable.php строка 215

◆ isHandlerCompatible()

static isHandlerCompatible ( )
static

Переопределяется в EmptyDeliveryService.

См. определение в файле configurable.php строка 225

◆ onAfterAdd()

static onAfterAdd (   $serviceId,
array  $fields = array() 
)
static

См. определение в файле configurable.php строка 206

◆ prepareFieldsForSaving()

prepareFieldsForSaving ( array  $fields)

См. определение в файле configurable.php строка 198

◆ whetherAdminExtraServicesShow()

static whetherAdminExtraServicesShow ( )
static

См. определение в файле configurable.php строка 220

Данные класса

◆ $handlerCode

$handlerCode = 'BITRIX_CONFIGURABLE'
protected

См. определение в файле configurable.php строка 22

◆ $isCalculatePriceImmediately

$isCalculatePriceImmediately = true
staticprotected

См. определение в файле configurable.php строка 24

◆ $whetherAdminExtraServicesShow

$whetherAdminExtraServicesShow = true
staticprotected

См. определение в файле configurable.php строка 25