Lines Matching refs:code
13 * @param string $code
18 public function __construct($code, $xDim, $gapWidth, $planet = false)
20 $this->init($code, $gapWidth, $planet);
30 * @param string $code
34 private function init($code, $gapWidth, $planet)
65 $bararray = ['code' => $code, 'maxw' => 0, 'maxh' => 5, 'bcode' => []];
68 $code = str_replace('-', '', $code);
69 $code = str_replace(' ', '', $code);
70 $len = strlen($code);
75 $sum += (int) $code[$i];
83 $code .= $chkd;
85 $len = strlen($code);
94 $bh = $barlen[$code[$i]][$j];