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

Method getVersionPattern

text-to-qr/lib/phpqrcode/qrspec.php:352–358  ·  view source on GitHub ↗

----------------------------------------------------------------------

($version)

Source from the content-addressed store, hash-verified

350
351 //----------------------------------------------------------------------
352 public static function getVersionPattern($version)
353 {
354 if($version < 7 || $version > QRSPEC_VERSION_MAX)
355 return 0;
356
357 return self::$versionPattern[$version -7];
358 }
359
360 // Format information --------------------------------------------------
361 // See calcFormatInfo in tests/test_qrspec.c (orginal qrencode c lib)

Callers 1

createFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected