|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Attributes | |
| $directoryHelper | |
Protected Attributes inherited from AbstractData | |
| $_attribute | |
| $_entity | |
| $_requestScope | |
| $_requestScopeOnly = true | |
| $_isAjax = false | |
| $_extractedData = [] | |
| $_dateFilterFormat | |
| $_localeDate | |
| $_localeResolver | |
| $_logger | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractData | |
| _applyInputFilter ($value) | |
| _getFormFilter () | |
| _dateFilterFormat ($format=null) | |
| _applyOutputFilter ($value) | |
| _validateInputRule ($value) | |
| _getRequestValue (RequestInterface $request) | |
Customer Address Postal/Zip Code Attribute Data Model This Data Model Has to Be Set Up in additional EAV attribute table
Definition at line 19 of file Postcode.php.
| __construct | ( | MagentoTimezone | $localeDate, |
| PsrLogger | $logger, | ||
| ResolverInterface | $localeResolver, | ||
| DirectoryHelper | $directoryHelper | ||
| ) |
| MagentoTimezone | $localeDate | |
| PsrLogger | $logger | |
| ResolverInterface | $localeResolver | |
| DirectoryHelper | $directoryHelper |
Definition at line 32 of file Postcode.php.
| compactValue | ( | $value | ) |
Export attribute value to entity model
| array | string | $value |
Definition at line 87 of file Postcode.php.
| extractValue | ( | RequestInterface | $request | ) |
Extract data from request and return value
| RequestInterface | $request |
Definition at line 75 of file Postcode.php.
| outputValue | ( | $format = AttributeDataFactory::OUTPUT_FORMAT_TEXT | ) |
Return formated attribute value from entity model
| string | $format |
Definition at line 113 of file Postcode.php.
| restoreValue | ( | $value | ) |
Restore attribute value from SESSION to entity model
| array | string | $value |
Definition at line 101 of file Postcode.php.
| validateValue | ( | $value | ) |
Validate postal/zip code Return true and skip validation if country zip code is optional
| array | string | $value |
Definition at line 49 of file Postcode.php.
|
protected |
Definition at line 24 of file Postcode.php.