Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
setFieldsData (array $fields, SimpleElement $element=null) | |
getFieldsData ($fields=null, SimpleElement $element=null) | |
![]() | |
getValidationErrors () | |
isSectionVisible ($sectionName) | |
![]() | |
getFieldsData ($fields=null, SimpleElement $element=null) | |
setFieldsData (array $fields, SimpleElement $contextElement=null) | |
Data Fields | |
const | STORE_LABEL_NAME = '[name="store_labels[%s]"]' |
Additional Inherited Members | |
![]() | |
$errorField = '//fieldset/*[contains(@class,"field ")][.//*[contains(@class,"error")]]' | |
$errorLabel = './/*[contains(@class,"label")]' | |
$errorText = './/label[contains(@class,"error")]' | |
$section = '[data-index="%s"]' | |
Backend sales rule label section.
Definition at line 14 of file Labels.php.
getFieldsData | ( | $fields = null , |
|
SimpleElement | $element = null |
||
) |
Get data of labels section.
array | null | $fields | |
SimpleElement | null | $element |
@SuppressWarnings(PHPMD.UnusedFormalParameter)
Definition at line 50 of file Labels.php.
setFieldsData | ( | array | $fields, |
SimpleElement | $element = null |
||
) |
Fill data to labels fields on labels section.
array | $fields | |
SimpleElement | null | $element |
Definition at line 28 of file Labels.php.
const STORE_LABEL_NAME = '[name="store_labels[%s]"]' |
Store label field name.
Definition at line 19 of file Labels.php.