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 / Ean12.php
bloba3b90c5f63b4ef555151dc4fab5640ad8e1f25f3
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 Ean12 extends AbstractAdapter
14 /**
15 * Constructor for this barcode adapter
17 public function __construct()
19 $this->setLength(12);
20 $this->setCharacters('0123456789');
21 $this->setChecksum('gtin');