| Fully Qualified Name: | Zend\Validator\Barcode\Code128 |
| Extends: | AbstractAdapter |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor for this barcode adapter | Code128 |
| getCharacters() | Returns the allowed characters | AbstractAdapter |
| getChecksum() | Returns the checksum function name | AbstractAdapter |
| getLength() | Returns the allowed barcode length | AbstractAdapter |
| getUtf8StringWrapper() | Get the string wrapper supporting UTF-8 character encoding | Code128 |
| hasValidCharacters() | Checks for allowed characters within the barcode | Code128 |
| hasValidChecksum() | Validates the checksum | AbstractAdapter |
| hasValidLength() | Checks the length of a barcode | AbstractAdapter |
| setUtf8StringWrapper() | Code128 | |
| useChecksum() | Sets the checksum validation, if no value is given, the actual setting is returned | AbstractAdapter |
Constructor for this barcode adapter
Returns:
Returns the allowed characters
Returns: int|string|array
Returns the checksum function name
Returns:
Returns the allowed barcode length
Returns: int|array
Get the string wrapper supporting UTF-8 character encoding
Returns: \StringWrapperInterface
Checks for allowed characters within the barcode
| Parameter Name | Type | Description |
|---|---|---|
| $value | string | The |
Returns: bool
Validates the checksum
| Parameter Name | Type | Description |
|---|---|---|
| $value | string | The |
Returns: bool
Checks the length of a barcode
| Parameter Name | Type | Description |
|---|---|---|
| $value | string | The |
Returns: bool
| Parameter Name | Type | Description |
|---|---|---|
| $utf8StringWrapper |
Returns: void
Sets the checksum validation, if no value is given, the actual setting is returned
| Parameter Name | Type | Description |
|---|---|---|
| $check | bool |
Returns: \AbstractAdapter|bool