MCPcopy Create free account
hub / github.com/codemistic/Web-Development / getFormatInfo

Method getFormatInfo

text-to-qr/lib/phpqrcode/qrspec.php:370–379  ·  view source on GitHub ↗
($mask, $level)

Source from the content-addressed store, hash-verified

368 );
369
370 public static function getFormatInfo($mask, $level)
371 {
372 if($mask < 0 || $mask > 7)
373 return 0;
374
375 if($level < 0 || $level > 3)
376 return 0;
377
378 return self::$formatInfo[$level][$mask];
379 }
380
381 // Frame ---------------------------------------------------------------
382 // Cache of initial frames.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected