コード例 #1
0
ファイル: KtoblzcheckTestAPI.php プロジェクト: bmdevel/bav
 /**
  * @param String $bankdata
  * @param String $binary
  * @throws TestAPIException
  */
 public function __construct($bankdata = null, $binary = null)
 {
     if (!is_null($bankdata)) {
         $this->bankdata = realpath($bankdata);
     }
     $this->binary = is_null($binary) ? self::BINARY : realpath($binary);
     parent::__construct();
     $this->setName("ktoblzcheck");
 }
コード例 #2
0
ファイル: KontocheckTestAPI.php プロジェクト: bmdevel/bav
 /**
  * @param String $lutFile
  * @param int $lutVersion
  * @throws TestAPIException
  * @throws TestAPIUnavailableException
  */
 public function __construct($lutFile = null, $lutVersion = null)
 {
     parent::__construct();
     $this->setName("kc");
     if (is_null($lutFile)) {
         $lutFile = __DIR__ . "/../../data/blz.lut2";
     }
     if (is_null($lutVersion)) {
         $lutVersion = 2;
     }
     if (!lut_init($lutFile, $lutVersion)) {
         throw new TestAPIException("Could not initialize LUT.");
     }
 }
コード例 #3
0
ファイル: BAVTestAPI.php プロジェクト: bmdevel/bav
 public function __construct()
 {
     parent::__construct();
     $this->setName("bav");
 }