Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
checkLength ($value) | |
checkChars ($value) | |
checksum ($value) | |
getCheck () | |
setCheck ($check) | |
Definition at line 28 of file AdapterInterface.php.
checkChars | ( | $value | ) |
Checks for allowed characters within the barcode
string | $value | The barcode to check for allowed characters |
Implemented in Zend_Validate_Barcode_Royalmail, Zend_Validate_Barcode_AdapterAbstract, and Zend_Validate_Barcode_Issn.
checkLength | ( | $value | ) |
Checks the length of a barcode
string | $value | The barcode to check for proper length |
Implemented in Zend_Validate_Barcode_AdapterAbstract, Zend_Validate_Barcode_Ean8, and Zend_Validate_Barcode_Upce.
checksum | ( | $value | ) |
Validates the checksum
string | $value | The barcode to check the checksum for |
Implemented in Zend_Validate_Barcode_AdapterAbstract, and Zend_Validate_Barcode_Issn.
getCheck | ( | ) |
Returns if barcode uses a checksum
Implemented in Zend_Validate_Barcode_AdapterAbstract.
setCheck | ( | $check | ) |
Sets the checksum validation
boolean | $check |
Implemented in Zend_Validate_Barcode_AdapterAbstract.