Properties

$VERSION_DECODE_INFO

$VERSION_DECODE_INFO

See ISO 18004:2006 Annex D.

Element i represents the raw version bits that specify version i + 7

$VERSIONS

$VERSIONS

$versionNumber

$versionNumber

$alignmentPatternCenters

$alignmentPatternCenters

$ecBlocks

$ecBlocks

$totalCodewords

$totalCodewords

Methods

__construct()

__construct(mixed  $versionNumber, mixed  $alignmentPatternCenters, mixed  $ecBlocks) : mixed

Parameters

mixed $versionNumber
mixed $alignmentPatternCenters
mixed $ecBlocks

Returns

mixed —

getVersionNumber()

getVersionNumber() : mixed

Returns

mixed —

getAlignmentPatternCenters()

getAlignmentPatternCenters() : mixed

Returns

mixed —

getTotalCodewords()

getTotalCodewords() : mixed

Returns

mixed —

getDimensionForVersion()

getDimensionForVersion() : mixed

Returns

mixed —

getECBlocksForLevel()

getECBlocksForLevel(mixed  $ecLevel) : mixed

Parameters

mixed $ecLevel

Returns

mixed —

getProvisionalVersionForDimension()

getProvisionalVersionForDimension(mixed  $dimension) : \Zxing\Qrcode\Decoder\Version

<p>Deduces version information purely from QR Code dimensions.</p>

Parameters

mixed $dimension

Throws

\Zxing\FormatException

if dimension is not 1 mod 4

Returns

\Zxing\Qrcode\Decoder\Version —

for a QR Code of that dimension

getVersionForNumber()

getVersionForNumber(mixed  $versionNumber) : mixed

Parameters

mixed $versionNumber

Returns

mixed —

decodeVersionInformation()

decodeVersionInformation(mixed  $versionBits) : mixed

Parameters

mixed $versionBits

Returns

mixed —

buildFunctionPattern()

buildFunctionPattern() : mixed

See ISO 18004:2006 Annex E

Returns

mixed —

buildVersions()

buildVersions() : mixed

See ISO 18004:2006 6.5.1 Table 9

Returns

mixed —