3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Validator\Barcode
;
12 class Identcode
extends AbstractAdapter
15 * Allowed barcode lengths
18 protected $length = 12;
21 * Allowed barcode characters
24 protected $characters = '0123456789';
30 protected $checksum = 'identcode';
33 * Constructor for this barcode adapter
35 public function __construct()
38 $this->setCharacters('0123456789');
39 $this->setChecksum('identcode');