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

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

 __construct (array $initParams)
 
 getOldConfig ($actualizeProfiles=false)
 
 getConfig ()
 
 prepareFieldsForSaving (array $fields)
 
 getParentService ()
 
 isCompatible (Shipment $shipment)
 
 getAdditionalInfoShipmentEdit (Shipment $shipment)
 
 processAdditionalInfoShipmentEdit (Shipment $shipment, array $requestData)
 
 getAdditionalInfoShipmentView (Shipment $shipment)
 
- Открытые члены унаследованные от 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 isProfile ()
 
- Открытые статические члены унаследованные от Base
static getClassTitle ()
 
static prepareParamsToSave (array $params)
 
static getAdminParamsControl ($name, array $params, $currency='')
 
static isInner ()
 
static isEmbeddedOnly ()
 

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

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

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

 $profileId = ""
 
 $oldConfig
 
 $parentSid
 
 $parentAutomatic = null
 
 $parentHandlerInitParams = array()
 
 $profileConfig = null
 
 $profileOldConfig = null
 
 $profileOldConfigActualized = false
 
- Защищенные данные унаследованные от Base
 $id
 
 $code
 
 $name = ''
 
 $description = ''
 
 $className = __CLASS__
 
 $params = array()
 
 $rights
 
 $deliveryId = 0
 
 $initial = ''
 
 $active = false
 
 $sort = 100
 
 $value = null
 
 $currency = ''
 
 $operatingCurrency = ''
 

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

static $isProfile = true
 

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

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

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

◆ __construct()

__construct ( array  $initParams)

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

Методы

◆ calculateConcrete()

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

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

◆ getAdditionalInfoShipmentEdit()

getAdditionalInfoShipmentEdit ( Shipment  $shipment)

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

◆ getAdditionalInfoShipmentView()

getAdditionalInfoShipmentView ( Shipment  $shipment)

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

◆ getClassDescription()

static getClassDescription ( )
static

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

◆ getClassTitle()

static getClassTitle ( )
static

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

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

◆ getConfig()

getConfig ( )

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

◆ getConfigStructure()

getConfigStructure ( )
protected

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

◆ getMarginPrice()

getMarginPrice (   $price)
protected

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

◆ getOldConfig()

getOldConfig (   $actualizeProfiles = false)
Аргументы
bool$actualizeProfiles
Возвращает
array Old config.

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

◆ getParentService()

getParentService ( )

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

◆ getProfileType()

getProfileType ( )
protected

@inheritDoc

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

◆ inheritParams()

inheritParams ( )
protected

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

◆ isCompatible()

isCompatible ( Shipment  $shipment)

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

◆ isProfile()

static isProfile ( )
static

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

◆ prepareFieldsForSaving()

prepareFieldsForSaving ( array  $fields)

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

◆ processAdditionalInfoShipmentEdit()

processAdditionalInfoShipmentEdit ( Shipment  $shipment,
array  $requestData 
)

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

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

◆ $isProfile

$isProfile = true
staticprotected

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

◆ $oldConfig

$oldConfig
protected

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

◆ $parentAutomatic

Automatic null $parentAutomatic = null
protected

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

◆ $parentHandlerInitParams

$parentHandlerInitParams = array()
protected

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

◆ $parentSid

$parentSid
protected

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

◆ $profileConfig

$profileConfig = null
protected

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

◆ $profileId

$profileId = ""
protected

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

◆ $profileOldConfig

$profileOldConfig = null
protected

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

◆ $profileOldConfigActualized

$profileOldConfigActualized = false
protected

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