Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Validator / Barcode / Ean14.php
blob4082974cfb31ff06c8fac84b05ee93da016b14c5
1 <?php
2 /**
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
8 */
10 namespace Zend\Validator\Barcode;
12 class Ean14 extends AbstractAdapter
14 /**
15 * Constructor for this barcode adapter
17 public function __construct()
19 $this->setLength(14);
20 $this->setCharacters('0123456789');
21 $this->setChecksum('gtin');