1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс BaseForm
Граф наследования:BaseForm:
ProductForm VariationForm ServiceForm GridVariationForm GridServiceForm

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

 __construct (BaseIblockElementEntity $entity, array $params=[])
 isCardAllowed ()
 isReadOnly ()
 isAllowedEditFields ()
 isCardSettingsEditable ()
 isEnabledSetSettingsForAll ()
 isPricesEditable ()
 isPurchasingPriceAllowed ()
 isVisibilityEditable ()
 isInventoryManagementAccess ()
 getControllers ()
 getValues (bool $allowDefaultValues=true, array $descriptions=null)
 getVariationGridId ()
 getVariationGridClassName ()
 getVariationGridJsComponentName ()
 getCardSettings ()
 getCardConfigId ()
 getCardUserConfig ()
 saveCardUserConfig (array $config)
 getVariationIblockId ()
 isImageProperty (array $propertySettings)
 getConfig ()
 getHiddenFields ()
 isQuantityTraceSettingDisabled ()
 getDescriptions ()
 getIblockPropertiesDescriptions ()

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

static preparePropertyName (string $name='')
static preparePropertyNameFromProperty (Property $property)

Поля данных

const GRID_FIELD_PREFIX = 'SKU_GRID_'
const SERVICE_GRID_PREFIX = 'SERVICE_GRID_'
const PROPERTY_FIELD_PREFIX = 'PROPERTY_'
const PRICE_FIELD_PREFIX = 'CATALOG_GROUP_'
const CURRENCY_FIELD_PREFIX = 'CATALOG_CURRENCY_'
const MORE_PHOTO = 'MORE_PHOTO'
const NOT_SELECTED_VAT_ID_VALUE = 'D'
const SCOPE_SHOP = 'shop'
const SCOPE_CRM = 'crm'
const CREATION_MODE = 'CREATION'
const EDIT_MODE = 'EDIT'

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

 getPreparedParams (array $params)
 isEntityCreationForm ()
 getScopeByUrl ()
 initUrlBuilder ()
 prepareFieldName (string $name)
 isInventoryButtonAllowed ()
 getCardSettingsItems ()
 getAdditionalValues (array $values, array $descriptions=[])
 getFieldValue (array $field)
 collectFieldConfigs ()
 getMainConfigElements ()
 getCatalogParametersSectionConfig ()
 buildDescriptions ()
 getElementTableMap ()
 getNameCodeDescription ()
 getIblockElementFieldsList ()
 showCatalogProductFields ()
 getCatalogProductFieldsList ()
 showSpecificCatalogParameters ()
 showSubscribeCatalogParameters ()
 getCatalogEnumFields (string $fieldName)
 getProductSystemFieldDescriptions ()
 getUserFieldDescriptions ()
 buildIblockPropertiesDescriptions ()
 getUnavailableUserTypes ()
 getPropertyDescription (Property $property)
 getHiddenPropertyCodes ()
 getPropertiesConfigElements ()
 getGeneralPropertyDescription (Property $property)
 getUserTypePropertyDescription (Property $property)
 getCurrencyList ()
 getPropertySettings (Property $property)
 getImagePropertyViewHtml ($value)

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

const CONTROL_NAME_WITH_CODE = 'name-code'
const CONTROL_IBLOCK_SECTION = 'iblock_section'
 $entity
array $params = []
array $descriptions = null
array $propertyDescriptions = null
 $urlBuilder
bool $crmIncluded = false
 $accessController

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

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

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

◆ __construct()

__construct ( BaseIblockElementEntity $entity,
array $params = [] )

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

Методы

◆ buildDescriptions()

buildDescriptions ( )
protected

Переопределяется в GridServiceForm, GridVariationForm, ProductForm и VariationForm.

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

◆ buildIblockPropertiesDescriptions()

buildIblockPropertiesDescriptions ( )
protected

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

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

◆ collectFieldConfigs()

collectFieldConfigs ( )
protected

Переопределяется в ProductForm и VariationForm.

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

◆ getAdditionalValues()

getAdditionalValues ( array $values,
array $descriptions = [] )
protected

Переопределяется в GridVariationForm, ProductForm, ServiceForm и VariationForm.

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

◆ getCardConfigId()

getCardConfigId ( )

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

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

◆ getCardSettings()

getCardSettings ( )

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

◆ getCardSettingsItems()

getCardSettingsItems ( )
protected

Переопределяется в ProductForm, ServiceForm и VariationForm.

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

◆ getCardUserConfig()

getCardUserConfig ( )

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

◆ getCatalogEnumFields()

getCatalogEnumFields ( string $fieldName)
protected

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

◆ getCatalogParametersSectionConfig()

getCatalogParametersSectionConfig ( )
protected

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

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

◆ getCatalogProductFieldsList()

getCatalogProductFieldsList ( )
protected

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

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

◆ getConfig()

getConfig ( )

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

◆ getControllers()

getControllers ( )

Returns controller's list for product card.

Возвращает
array[]

Переопределяется в ProductForm и VariationForm.

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

◆ getCurrencyList()

getCurrencyList ( )
protected

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

◆ getDescriptions()

getDescriptions ( )

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

◆ getElementTableMap()

getElementTableMap ( )
protected

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

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

◆ getFieldValue()

getFieldValue ( array $field)
protected

Переопределяется в GridVariationForm, ProductForm и VariationForm.

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

◆ getGeneralPropertyDescription()

getGeneralPropertyDescription ( Property $property)
protected

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

◆ getHiddenFields()

getHiddenFields ( )
Возвращает
array

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

◆ getHiddenPropertyCodes()

getHiddenPropertyCodes ( )
protected

Переопределяется в ProductForm и VariationForm.

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

◆ getIblockElementFieldsList()

getIblockElementFieldsList ( )
protected

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

◆ getIblockPropertiesDescriptions()

getIblockPropertiesDescriptions ( )

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

◆ getImagePropertyViewHtml()

getImagePropertyViewHtml ( $value)
protected

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

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

◆ getMainConfigElements()

getMainConfigElements ( )
protected

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

◆ getNameCodeDescription()

getNameCodeDescription ( )
protected

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

◆ getPreparedParams()

getPreparedParams ( array $params)
protected

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

◆ getProductSystemFieldDescriptions()

getProductSystemFieldDescriptions ( )
protected

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

◆ getPropertiesConfigElements()

getPropertiesConfigElements ( )
protected

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

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

◆ getPropertyDescription()

getPropertyDescription ( Property $property)
protected

Переопределяется в GridServiceForm, GridVariationForm, ServiceForm и VariationForm.

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

◆ getPropertySettings()

getPropertySettings ( Property $property)
protected

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

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

◆ getScopeByUrl()

getScopeByUrl ( )
protected

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

◆ getUnavailableUserTypes()

getUnavailableUserTypes ( )
protected

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

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

◆ getUserFieldDescriptions()

getUserFieldDescriptions ( )
protected

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

◆ getUserTypePropertyDescription()

getUserTypePropertyDescription ( Property $property)
protected

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

◆ getValues()

getValues ( bool $allowDefaultValues = true,
array $descriptions = null )

Returns product field values.

Аргументы
bool$allowDefaultValuesCan use default values.
array | null$descriptionsField descriptions.
Возвращает
array

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

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

◆ getVariationGridClassName()

getVariationGridClassName ( )

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

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

◆ getVariationGridId()

getVariationGridId ( )

Переопределяется в GridServiceForm и ServiceForm.

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

◆ getVariationGridJsComponentName()

getVariationGridJsComponentName ( )

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

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

◆ getVariationIblockId()

getVariationIblockId ( )

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

◆ initUrlBuilder()

initUrlBuilder ( )
protected

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

◆ isAllowedEditFields()

isAllowedEditFields ( )

Returns true, if current user can create new product or modify existing product.

Возвращает
bool

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

◆ isCardAllowed()

isCardAllowed ( )

Returns true, if public product card is allowed.

Возвращает
bool

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

◆ isCardSettingsEditable()

isCardSettingsEditable ( )

Returns true, if current user can modify card settings.

Возвращает
bool

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

◆ isEnabledSetSettingsForAll()

isEnabledSetSettingsForAll ( )

Returns true, if current user can write card settings for all users.

Возвращает
bool

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

◆ isEntityCreationForm()

isEntityCreationForm ( )
protected

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

◆ isImageProperty()

isImageProperty ( array $propertySettings)

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

◆ isInventoryButtonAllowed()

isInventoryButtonAllowed ( )
protected

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

◆ isInventoryManagementAccess()

isInventoryManagementAccess ( )

Returns true, if current user can change inventory management setting.

Возвращает
bool

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

◆ isPricesEditable()

isPricesEditable ( )

Returns true, if current user can modify product prices.

Возвращает
bool

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

◆ isPurchasingPriceAllowed()

isPurchasingPriceAllowed ( )

Return true, if current user can view purchasing prices.

Возвращает
bool

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

◆ isQuantityTraceSettingDisabled()

isQuantityTraceSettingDisabled ( )
Возвращает
bool

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

◆ isReadOnly()

isReadOnly ( )

Returns true, if current user can't modify product.

Возвращает
bool

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

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

◆ isVisibilityEditable()

isVisibilityEditable ( )

Returns true, if current user can modify product's visibility.

Возвращает
bool

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

◆ prepareFieldName()

prepareFieldName ( string $name)
protected

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

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

◆ preparePropertyName()

preparePropertyName ( string $name = '')
static

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

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

◆ preparePropertyNameFromProperty()

preparePropertyNameFromProperty ( Property $property)
static

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

◆ saveCardUserConfig()

saveCardUserConfig ( array $config)

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

◆ showCatalogProductFields()

showCatalogProductFields ( )
protected

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

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

◆ showSpecificCatalogParameters()

showSpecificCatalogParameters ( )
protected

Переопределяется в ProductForm, ServiceForm и VariationForm.

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

◆ showSubscribeCatalogParameters()

showSubscribeCatalogParameters ( )
protected

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

Поля

◆ $accessController

$accessController
protected

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

◆ $crmIncluded

bool $crmIncluded = false
protected

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

◆ $descriptions

array $descriptions = null
protected

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

◆ $entity

$entity
protected

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

◆ $params

array $params = []
protected

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

◆ $propertyDescriptions

array $propertyDescriptions = null
protected

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

◆ $urlBuilder

$urlBuilder
protected

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

◆ CONTROL_IBLOCK_SECTION

const CONTROL_IBLOCK_SECTION = 'iblock_section'
protected

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

◆ CONTROL_NAME_WITH_CODE

const CONTROL_NAME_WITH_CODE = 'name-code'
protected

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

◆ CREATION_MODE

const CREATION_MODE = 'CREATION'

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

◆ CURRENCY_FIELD_PREFIX

const CURRENCY_FIELD_PREFIX = 'CATALOG_CURRENCY_'

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

◆ EDIT_MODE

const EDIT_MODE = 'EDIT'

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

◆ GRID_FIELD_PREFIX

const GRID_FIELD_PREFIX = 'SKU_GRID_'

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

◆ MORE_PHOTO

const MORE_PHOTO = 'MORE_PHOTO'

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

◆ NOT_SELECTED_VAT_ID_VALUE

const NOT_SELECTED_VAT_ID_VALUE = 'D'

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

◆ PRICE_FIELD_PREFIX

const PRICE_FIELD_PREFIX = 'CATALOG_GROUP_'

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

◆ PROPERTY_FIELD_PREFIX

const PROPERTY_FIELD_PREFIX = 'PROPERTY_'

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

◆ SCOPE_CRM

const SCOPE_CRM = 'crm'

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

◆ SCOPE_SHOP

const SCOPE_SHOP = 'shop'

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

◆ SERVICE_GRID_PREFIX

const SERVICE_GRID_PREFIX = 'SERVICE_GRID_'

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


Объявления и описания членов класса находятся в файле: