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

Method getFormatInfo

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

Source from the content-addressed store, hash-verified

680 );
681
682 public static function getFormatInfo($mask, $level)
683 {
684 if($mask < 0 || $mask > 7)
685 return 0;
686
687 if($level < 0 || $level > 3)
688 return 0;
689
690 return self::$formatInfo[$level][$mask];
691 }
692
693 // Frame ---------------------------------------------------------------
694 // Cache of initial frames.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected