Class Issn

Summary

Fully Qualified Name: Zend\Validator\Barcode\Issn
Extends: AbstractAdapter

Description

Methods

Name Description Defined By
__construct() Constructor for this barcode adapter Issn
getCharacters() Returns the allowed characters AbstractAdapter
getChecksum() Returns the checksum function name AbstractAdapter
getLength() Returns the allowed barcode length AbstractAdapter
hasValidCharacters() Allows X on length of 8 chars Issn
hasValidChecksum() Validates the checksum Issn
hasValidLength() Checks the length of a barcode AbstractAdapter
useChecksum() Sets the checksum validation, if no value is given, the actual setting is returned AbstractAdapter

Method Details

__construct()

Constructor for this barcode adapter

Returns:

getCharacters()

Returns the allowed characters

Returns: int|string|array

getChecksum()

Returns the checksum function name

Returns:

getLength()

Returns the allowed barcode length

Returns: int|array

hasValidCharacters()

Allows X on length of 8 chars

Parameter Name Type Description
$value string The

Returns: bool

hasValidChecksum()

Validates the checksum

Parameter Name Type Description
$value string The

Returns: bool

hasValidLength()

Checks the length of a barcode

Parameter Name Type Description
$value string The

Returns: bool

useChecksum()

Sets the checksum validation, if no value is given, the actual setting is returned

Parameter Name Type Description
$check bool

Returns: \AbstractAdapter|bool

Top