Ejemplo n.º 1
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System09($bankId);
     $this->mode2 = new System06($bankId);
     $this->mode2->setWeights(array(2, 3, 4, 5, 6, 7));
 }
Ejemplo n.º 2
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System33($bankId);
     $this->mode1->setWeights(array(2, 3, 4, 5, 6));
     $this->mode2 = new System10($bankId);
 }
Ejemplo n.º 3
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System00($bankId);
     $this->mode1->setWeights(array(2, 1));
     $this->mode2 = new System02($bankId);
     $this->mode2->setWeights(array(2, 3, 4, 5, 6, 7, 8, 9, 10));
 }
Ejemplo n.º 4
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System15($bankId);
     $this->mode1->setWeights(array(2, 3, 4, 5));
     $this->mode2 = new System58($bankId);
     $this->mode2->setWeights(array(2, 3, 4, 5, 6, 0, 0, 0, 0));
 }
Ejemplo n.º 5
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System75($bankId);
     $this->mode2 = new System29($bankId);
     $this->mode3 = new System00($bankId);
     $this->mode4 = new System09($bankId);
 }
Ejemplo n.º 6
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System20($bankId);
     $this->mode1->setWeights(array(2, 3, 4, 5, 6, 7, 8, 9, 3));
     $this->mode2 = new System53($bankId);
     $this->mode2->setWeights(array(2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4));
 }
Ejemplo n.º 7
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new System00($bankId);
     $this->mode1->setWeights(array(2, 1));
     $this->mode2 = new System01($bankId);
     $this->mode2->setWeights(array(3, 7, 1));
 }
Ejemplo n.º 8
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->validator09 = new System09($bankId);
     $this->mode1 = new System00($bankId);
     $this->mode1->setWeights(array(1, 2));
     $this->mode1->setStart(0);
     $this->mode1->setEnd(-2);
     $this->mode2 = new System00($bankId);
     $this->mode2->setWeights(array(1, 2, 0, 1, 2, 1, 2, 1, 2, 1));
     $this->mode2->setChecknumberPosition(2);
     $this->mode2->setStart(0);
     $this->mode2->setEnd(-1);
     $this->modeMap = array(51 => 1, 55 => 1, 61 => 1, 64 => 1, 65 => 1, 66 => 1, 70 => 1, 73 => 1, 88 => 1, 94 => 1, 95 => 1, 52 => 2, 53 => 2, 54 => 2, 62 => 2, 63 => 2, 67 => 2, 68 => 2, 69 => 2, 71 => 2, 72 => 2, 74 => 2, 89 => 2, 90 => 2, 92 => 2, 93 => 2, 96 => 2, 97 => 2, 98 => 2, 40 => 3, 50 => 3, 91 => 3, 99 => 3);
 }
Ejemplo n.º 9
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->validator1 = new System06($bankId);
     $this->validator1->setWeights(array(2, 3, 4, 5, 6, 7, 8, 0, 0));
     $validator2 = new System06($bankId);
     $validator2->setWeights(array(2, 3, 4, 5, 6, 7, 0, 0, 0));
     $validator3 = new System06($bankId);
     $validator3->setWeights(array(2, 3, 4, 5, 6, 7, 0, 0, 0));
     $validator3->setModulo(7);
     $validator4 = new System06($bankId);
     $validator4->setWeights(array(2, 3, 4, 5, 6, 7, 0, 0, 0));
     $validator4->setModulo(10);
     $this->validatorChain = new \Bav\Validator\Chain($bankId);
     $this->validatorChain->addValidator($validator2);
     $this->validatorChain->addValidator($validator3);
     $this->validatorChain->addValidator($validator4);
 }
Ejemplo n.º 10
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->validator = new System00($bankId);
     $this->validator->setNormalizedSize(10 + strlen(self::TRANSFORMATION));
 }
Ejemplo n.º 11
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->validator = new System00($bankId);
 }
Ejemplo n.º 12
0
 protected function init($account)
 {
     parent::init($account);
     $this->validator = null;
 }
Ejemplo n.º 13
0
 public function __construct($bankId)
 {
     parent::__construct($bankId);
     $this->mode1 = new SystemB9a($bankId);
     $this->mode2 = new SystemB9b($bankId);
 }