diff --git a/classes/Output-QRGdImageAVIFTest.html b/classes/Output-QRGdImageAVIFTest.html index acd9b02c1..463df3b9b 100644 --- a/classes/Output-QRGdImageAVIFTest.html +++ b/classes/Output-QRGdImageAVIFTest.html @@ -166,6 +166,7 @@ +
protected
mixed
@@ -390,6 +392,7 @@
+
protected
QRMatrix
@@ -425,6 +428,7 @@
+
protected
SettingsContainerInterface|QROptions
@@ -460,6 +464,7 @@
+
protected
QROutputInterface
@@ -509,6 +514,7 @@
+
@@ -546,6 +552,7 @@
+
@@ -579,6 +586,7 @@
+
@@ -613,6 +621,7 @@
+
@@ -647,6 +656,7 @@
+
@@ -681,6 +691,7 @@
+
Tags
@@ -726,6 +737,7 @@
+
Parameters
-
@@ -791,6 +803,7 @@
+
Parameters
-
@@ -850,6 +863,7 @@
+
Parameters
-
@@ -913,6 +927,7 @@
+
Parameters
-
@@ -961,6 +976,7 @@
+
Parameters
-
@@ -1024,6 +1040,7 @@
+
Parameters
-
@@ -1071,6 +1088,7 @@
+
Parameters
-
@@ -1128,6 +1146,7 @@
+
Tags
@@ -1260,36 +1279,36 @@
- Constants
-
- Properties
-
- - $matrix
- - $options
- - $outputInterface
+ - $matrix
+ - $options
+ - $outputInterface
- Methods
-
- - moduleValueProvider()
- - testBase64MimeType()
- - testOutputGetResource()
- - testRenderToCacheFile()
- - testSaveException()
- - testSetModuleValues()
- - testValidateModuleValues()
- - createBuildDir()
- - getBuildDir()
- - getBuildFileContent()
- - getBuildFilePath()
- - getBuildPath()
- - getOutputInterface()
- - setUp()
+ - moduleValueProvider()
+ - testBase64MimeType()
+ - testOutputGetResource()
+ - testRenderToCacheFile()
+ - testSaveException()
+ - testSetModuleValues()
+ - testValidateModuleValues()
+ - createBuildDir()
+ - getBuildDir()
+ - getBuildFileContent()
+ - getBuildFilePath()
+ - getBuildPath()
+ - getOutputInterface()
+ - setUp()
diff --git a/classes/chillerlan-QRCode-Common-BitBuffer.html b/classes/chillerlan-QRCode-Common-BitBuffer.html
index 7a0120ee8..516fe1fec 100644
--- a/classes/chillerlan-QRCode-Common-BitBuffer.html
+++ b/classes/chillerlan-QRCode-Common-BitBuffer.html
@@ -165,6 +165,7 @@
+
Table of Contents
@@ -186,28 +187,28 @@
-
- $bitsRead
+ $bitsRead
: int
- Read count (bits)
-
- $buffer
+ $buffer
: array<string|int, int>
- The buffer content
-
- $bytesRead
+ $bytesRead
: int
- Read count (bytes)
-
- $length
+ $length
: int
@@ -222,61 +223,61 @@
-
- __construct()
+ __construct()
: mixed
- BitBuffer constructor.
-
- available()
+ available()
: int
-
- clear()
+ clear()
: self
- Clears the buffer and resets the stats
-
- getBuffer()
+ getBuffer()
: array<string|int, mixed>
- returns the buffer content
-
- getLength()
+ getLength()
: int
- returns the current buffer length
-
- put()
+ put()
: self
- appends a sequence of bits
-
- putBit()
+ putBit()
: self
- appends a single bit
-
- read()
+ read()
: int
-
- rewind()
+ rewind()
: self
@@ -318,6 +319,7 @@
Read count (bits)
+
private
int
@@ -354,6 +356,7 @@
The buffer content
+
private
array<string|int, int>
@@ -390,6 +393,7 @@
Read count (bytes)
+
private
int
@@ -426,6 +430,7 @@
Length of the content (bits)
+
private
int
@@ -474,6 +479,7 @@
+
Parameters
-
@@ -519,6 +525,7 @@
+
@@ -561,6 +568,7 @@
+
@@ -596,6 +604,7 @@
+
to debug: array_map(fn($v) => sprintf('%08b', $v), $bitBuffer->getBuffer())
@@ -639,6 +648,7 @@
+
@@ -675,6 +685,7 @@
+
Parameters
-
@@ -730,6 +741,7 @@
+
Parameters
-
@@ -777,6 +789,7 @@
+
Parameters
-
@@ -859,6 +872,7 @@
+
@@ -981,25 +995,25 @@
- Properties
-
- - $bitsRead
- - $buffer
- - $bytesRead
- - $length
+ - $bitsRead
+ - $buffer
+ - $bytesRead
+ - $length
- Methods
-
- - __construct()
- - available()
- - clear()
- - getBuffer()
- - getLength()
- - put()
- - putBit()
- - read()
- - rewind()
+ - __construct()
+ - available()
+ - clear()
+ - getBuffer()
+ - getLength()
+ - put()
+ - putBit()
+ - read()
+ - rewind()
diff --git a/classes/chillerlan-QRCode-Common-ECICharset.html b/classes/chillerlan-QRCode-Common-ECICharset.html
index 6bbb8be98..ae49eb9ff 100644
--- a/classes/chillerlan-QRCode-Common-ECICharset.html
+++ b/classes/chillerlan-QRCode-Common-ECICharset.html
@@ -165,6 +165,7 @@
+
Table of Contents
@@ -184,151 +185,151 @@
-
- BIG5
+ BIG5
= 28
-
- CP437
+ CP437
= 0
-
- CP437_WO_GLI
+ CP437_WO_GLI
= 2
-
- EUC_KR
+ EUC_KR
= 30
-
- GB18030
+ GB18030
= 29
-
- ISO_IEC_10646_UCS_2
+ ISO_IEC_10646_UCS_2
= 25
-
- ISO_IEC_10646_UTF_8
+ ISO_IEC_10646_UTF_8
= 26
-
- ISO_IEC_646_1991
+ ISO_IEC_646_1991
= 27
-
- ISO_IEC_8859_1
+ ISO_IEC_8859_1
= 3
-
- ISO_IEC_8859_10
+ ISO_IEC_8859_10
= 12
-
- ISO_IEC_8859_11
+ ISO_IEC_8859_11
= 13
-
- ISO_IEC_8859_13
+ ISO_IEC_8859_13
= 15
-
- ISO_IEC_8859_14
+ ISO_IEC_8859_14
= 16
-
- ISO_IEC_8859_15
+ ISO_IEC_8859_15
= 17
-
- ISO_IEC_8859_16
+ ISO_IEC_8859_16
= 18
-
- ISO_IEC_8859_1_GLI
+ ISO_IEC_8859_1_GLI
= 1
-
- ISO_IEC_8859_2
+ ISO_IEC_8859_2
= 4
-
- ISO_IEC_8859_3
+ ISO_IEC_8859_3
= 5
-
- ISO_IEC_8859_4
+ ISO_IEC_8859_4
= 6
-
- ISO_IEC_8859_5
+ ISO_IEC_8859_5
= 7
-
- ISO_IEC_8859_6
+ ISO_IEC_8859_6
= 8
-
- ISO_IEC_8859_7
+ ISO_IEC_8859_7
= 9
-
- ISO_IEC_8859_8
+ ISO_IEC_8859_8
= 10
-
- ISO_IEC_8859_9
+ ISO_IEC_8859_9
= 11
-
- MB_ENCODINGS
+ MB_ENCODINGS
= [
self::CP437 => null,
@@ -367,31 +368,31 @@
- map of charset id -> name
-
- SHIFT_JIS
+ SHIFT_JIS
= 20
-
- WINDOWS_1250_LATIN_2
+ WINDOWS_1250_LATIN_2
= 21
-
- WINDOWS_1251_CYRILLIC
+ WINDOWS_1251_CYRILLIC
= 22
-
- WINDOWS_1252_LATIN_1
+ WINDOWS_1252_LATIN_1
= 23
-
- WINDOWS_1256_ARABIC
+ WINDOWS_1256_ARABIC
= 24
@@ -406,7 +407,7 @@
-
- $charsetID
+ $charsetID
: int
@@ -421,20 +422,20 @@
-
- __construct()
+ __construct()
: mixed
-
- getID()
+ getID()
: int
- Returns the current character set ID
-
- getName()
+ getName()
: string|null
@@ -466,6 +467,7 @@
+
public
mixed
@@ -496,6 +498,7 @@
+
public
mixed
@@ -526,6 +529,7 @@
+
public
mixed
@@ -556,6 +560,7 @@
+
public
mixed
@@ -586,6 +591,7 @@
+
public
mixed
@@ -616,6 +622,7 @@
+
public
mixed
@@ -646,6 +653,7 @@
+
public
mixed
@@ -676,6 +684,7 @@
+
public
mixed
@@ -706,6 +715,7 @@
+
public
mixed
@@ -736,6 +746,7 @@
+
public
mixed
@@ -766,6 +777,7 @@
+
public
mixed
@@ -796,6 +808,7 @@
+
public
mixed
@@ -826,6 +839,7 @@
+
public
mixed
@@ -856,6 +870,7 @@
+
public
mixed
@@ -886,6 +901,7 @@
+
public
mixed
@@ -916,6 +932,7 @@
+
public
mixed
@@ -946,6 +963,7 @@
+
public
mixed
@@ -976,6 +994,7 @@
+
public
mixed
@@ -1006,6 +1025,7 @@
+
public
mixed
@@ -1036,6 +1056,7 @@
+
public
mixed
@@ -1066,6 +1087,7 @@
+
public
mixed
@@ -1096,6 +1118,7 @@
+
public
mixed
@@ -1126,6 +1149,7 @@
+
public
mixed
@@ -1156,6 +1180,7 @@
+
public
mixed
@@ -1187,6 +1212,7 @@
map of charset id -> name
+
public
mixed
@@ -1264,6 +1290,7 @@
+
public
mixed
@@ -1294,6 +1321,7 @@
+
public
mixed
@@ -1324,6 +1352,7 @@
+
public
mixed
@@ -1354,6 +1383,7 @@
+
public
mixed
@@ -1384,6 +1414,7 @@
+
public
mixed
@@ -1431,6 +1462,7 @@
The current ECI character set ID
+
private
int
@@ -1478,6 +1510,7 @@
+
Parameters
-
@@ -1539,6 +1572,7 @@
+
@@ -1577,6 +1611,7 @@
+
Tags
@@ -1722,52 +1757,52 @@
- Constants
-
- - BIG5
- - CP437
- - CP437_WO_GLI
- - EUC_KR
- - GB18030
- - ISO_IEC_10646_UCS_2
- - ISO_IEC_10646_UTF_8
- - ISO_IEC_646_1991
- - ISO_IEC_8859_1
- - ISO_IEC_8859_10
- - ISO_IEC_8859_11
- - ISO_IEC_8859_13
- - ISO_IEC_8859_14
- - ISO_IEC_8859_15
- - ISO_IEC_8859_16
- - ISO_IEC_8859_1_GLI
- - ISO_IEC_8859_2
- - ISO_IEC_8859_3
- - ISO_IEC_8859_4
- - ISO_IEC_8859_5
- - ISO_IEC_8859_6
- - ISO_IEC_8859_7
- - ISO_IEC_8859_8
- - ISO_IEC_8859_9
- - MB_ENCODINGS
- - SHIFT_JIS
- - WINDOWS_1250_LATIN_2
- - WINDOWS_1251_CYRILLIC
- - WINDOWS_1252_LATIN_1
- - WINDOWS_1256_ARABIC
+ - BIG5
+ - CP437
+ - CP437_WO_GLI
+ - EUC_KR
+ - GB18030
+ - ISO_IEC_10646_UCS_2
+ - ISO_IEC_10646_UTF_8
+ - ISO_IEC_646_1991
+ - ISO_IEC_8859_1
+ - ISO_IEC_8859_10
+ - ISO_IEC_8859_11
+ - ISO_IEC_8859_13
+ - ISO_IEC_8859_14
+ - ISO_IEC_8859_15
+ - ISO_IEC_8859_16
+ - ISO_IEC_8859_1_GLI
+ - ISO_IEC_8859_2
+ - ISO_IEC_8859_3
+ - ISO_IEC_8859_4
+ - ISO_IEC_8859_5
+ - ISO_IEC_8859_6
+ - ISO_IEC_8859_7
+ - ISO_IEC_8859_8
+ - ISO_IEC_8859_9
+ - MB_ENCODINGS
+ - SHIFT_JIS
+ - WINDOWS_1250_LATIN_2
+ - WINDOWS_1251_CYRILLIC
+ - WINDOWS_1252_LATIN_1
+ - WINDOWS_1256_ARABIC
- Properties
-
- - $charsetID
+ - $charsetID
- Methods
-
- - __construct()
- - getID()
- - getName()
+ - __construct()
+ - getID()
+ - getName()
diff --git a/classes/chillerlan-QRCode-Common-EccLevel.html b/classes/chillerlan-QRCode-Common-EccLevel.html
index ae647cb11..a97ad0518 100644
--- a/classes/chillerlan-QRCode-Common-EccLevel.html
+++ b/classes/chillerlan-QRCode-Common-EccLevel.html
@@ -165,6 +165,7 @@
+
Table of Contents
@@ -184,31 +185,31 @@
-
- H
+ H
= 0b10
-
- L
+ L
= 0b1
-
- M
+ M
= 0b0
-
- Q
+ Q
= 0b11
-
- FORMAT_PATTERN
+ FORMAT_PATTERN
= [[
// L
@@ -255,7 +256,7 @@
- ISO/IEC 18004:2000 Section 8.9 - Format Information
-
- MAX_BITS
+ MAX_BITS
= [
// [ L, M, Q, H] // v => modules
@@ -354,7 +355,7 @@
-
- $eccLevel
+ $eccLevel
: int
@@ -369,48 +370,48 @@
-
- __construct()
+ __construct()
: mixed
-
- __toString()
+ __toString()
: string
- returns the string representation of the current ECC level
-
- getformatPattern()
+ getformatPattern()
: int
- returns the format pattern for the given $eccLevel and $maskPattern
-
- getLevel()
+ getLevel()
: int
- returns the current ECC level
-
- getMaxBits()
+ getMaxBits()
: array<string|int, int>
- returns an array with the max bit lengths for version 1-40 and the current ECC level
-
- getMaxBitsForVersion()
+ getMaxBitsForVersion()
: int
- Returns the maximum bit length for the given version and current ECC level
-
- getOrdinal()
+ getOrdinal()
: int
@@ -442,6 +443,7 @@
+
public
int
@@ -472,6 +474,7 @@
+
public
int
@@ -502,6 +505,7 @@
+
public
int
@@ -532,6 +536,7 @@
+
public
int
@@ -563,6 +568,7 @@
ISO/IEC 18004:2000 Section 8.9 - Format Information
+
private
array<string|int, array<string|int, int>>
@@ -636,6 +642,7 @@
ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40
+
private
array<string|int, array<string|int, int>>
@@ -766,6 +773,7 @@
The current ECC level value
+
private
int
@@ -818,6 +826,7 @@ H: 0b10
+
Parameters
-
@@ -881,6 +890,7 @@ H: 0b10
+
@@ -917,6 +927,7 @@ H: 0b10
+
Parameters
-
@@ -967,6 +978,7 @@ H: 0b10
+
@@ -1005,6 +1017,7 @@ H: 0b10
+
@@ -1041,6 +1054,7 @@ H: 0b10
+
Parameters
-
@@ -1088,6 +1102,7 @@ H: 0b10
+
references to the keys of the following tables:
@@ -1246,32 +1261,32 @@ H: 0b10
- Constants
-
- Properties
-
- Methods
-
diff --git a/classes/chillerlan-QRCode-Common-GDLuminanceSource.html b/classes/chillerlan-QRCode-Common-GDLuminanceSource.html
index 98f806c88..07b5ab12a 100644
--- a/classes/chillerlan-QRCode-Common-GDLuminanceSource.html
+++ b/classes/chillerlan-QRCode-Common-GDLuminanceSource.html
@@ -169,6 +169,7 @@ It does not support rotation.
+
Table of Contents
@@ -190,31 +191,31 @@ It does not support rotation.
-
- $height
+ $height
: int
-
- $luminances
+ $luminances
: array<string|int, mixed>
-
- $options
+ $options
: SettingsContainerInterface|QROptions
-
- $width
+ $width
: int
-
- $gdImage
+ $gdImage
: GdImage
@@ -228,34 +229,34 @@ It does not support rotation.
-
- __construct()
+ __construct()
: mixed
- GDLuminanceSource constructor.
-
- fromBlob()
+ fromBlob()
: static
- Creates a LuminanceSource instance from the given data blob
-
- fromFile()
+ fromFile()
: static
- Creates a LuminanceSource instance from the given file
-
- getHeight()
+ getHeight()
: int
-
- getLuminances()
+ getLuminances()
: array<string|int, mixed>
@@ -263,7 +264,7 @@ It does not support rotation.
`int luminance = array[y * width + x] & 0xff`
-
- getRow()
+ getRow()
: array<string|int, mixed>
@@ -274,25 +275,25 @@ to only fetch this row rather than the whole image, since no 2D Readers may be i
getLuminances() may never be called.
-
- getWidth()
+ getWidth()
: int
-
- checkFile()
+ checkFile()
: string
-
- setLuminancePixel()
+ setLuminancePixel()
: void
-
- setLuminancePixels()
+ setLuminancePixels()
: void
@@ -332,6 +333,7 @@ getLuminances() may never be called.
+
protected
int
@@ -367,6 +369,7 @@ getLuminances() may never be called.
+
protected
array<string|int, mixed>
@@ -402,6 +405,7 @@ getLuminances() may never be called.
+
protected
SettingsContainerInterface|QROptions
@@ -437,6 +441,7 @@ getLuminances() may never be called.
+
protected
int
@@ -472,6 +477,7 @@ getLuminances() may never be called.
+
private
GdImage
@@ -520,6 +526,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -586,6 +593,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -655,6 +663,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -725,6 +734,7 @@ getLuminances() may never be called.
+
Tags
@@ -782,6 +792,7 @@ getLuminances() may never be called.
+
Tags
@@ -842,6 +853,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -911,6 +923,7 @@ getLuminances() may never be called.
+
Tags
@@ -964,6 +977,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -1026,6 +1040,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -1085,6 +1100,7 @@ getLuminances() may never be called.
+
@@ -1203,27 +1219,27 @@ getLuminances() may never be called.
- Properties
-
- - $height
- - $luminances
- - $options
- - $width
- - $gdImage
+ - $height
+ - $luminances
+ - $options
+ - $width
+ - $gdImage
- Methods
-
- - __construct()
- - fromBlob()
- - fromFile()
- - getHeight()
- - getLuminances()
- - getRow()
- - getWidth()
- - checkFile()
- - setLuminancePixel()
- - setLuminancePixels()
+ - __construct()
+ - fromBlob()
+ - fromFile()
+ - getHeight()
+ - getLuminances()
+ - getRow()
+ - getWidth()
+ - checkFile()
+ - setLuminancePixel()
+ - setLuminancePixels()
diff --git a/classes/chillerlan-QRCode-Common-GF256.html b/classes/chillerlan-QRCode-Common-GF256.html
index 3666435ec..0460ae7c3 100644
--- a/classes/chillerlan-QRCode-Common-GF256.html
+++ b/classes/chillerlan-QRCode-Common-GF256.html
@@ -159,6 +159,7 @@
This class contains utility methods for performing mathematical operations over
the Galois Fields. Operations use a given primitive polynomial in calculations.
+
Throughout this package, elements of the GF are represented as an int
for convenience and speed (but at the cost of memory).
@@ -213,13 +214,13 @@ for convenience and speed (but at the cost of memory).
-
- expTable
+ expTable
= [1, 2, 4, 8, 16, 32, 64, 128, 29, 58, 116, 232, 205, 135, 19, 38, 76, 152, 45, 90, 180, 117, 234, 201, 143, 3, 6, 12, 24, 48, 96, 192, 157, 39, 78, 156, 37, 74, 148, 53, 106, 212, 181, 119, 238, 193, 159, 35, 70, 140, 5, 10, 20, 40, 80, 160, 93, 186, 105, 210, 185, 111, 222, 161, 95, 190, 97, 194, 153, 47, 94, 188, 101, 202, 137, 15, 30, 60, 120, 240, 253, 231, 211, 187, 107, 214, 177, 127, 254, 225, 223, 163, 91, 182, 113, 226, 217, 175, 67, 134, 17, 34, 68, 136, 13, 26, 52, 104, 208, 189, 103, 206, 129, 31, 62, 124, 248, 237, 199, 147, 59, 118, 236, 197, 151, 51, 102, 204, 133, 23, 46, 92, 184, 109, 218, 169, 79, 158, 33, 66, 132, 21, 42, 84, 168, 77, 154, 41, 82, 164, 85, 170, 73, 146, 57, 114, 228, 213, 183, 115, 230, 209, 191, 99, 198, 145, 63, 126, 252, 229, 215, 179, 123, 246, 241, 255, 227, 219, 171, 75, 150, 49, 98, 196, 149, 55, 110, 220, 165, 87, 174, 65, 130, 25, 50, 100, 200, 141, 7, 14, 28, 56, 112, 224, 221, 167, 83, 166, 81, 162, 89, 178, 121, 242, 249, 239, 195, 155, 43, 86, 172, 69, 138, 9, 18, 36, 72, 144, 61, 122, 244, 245, 247, 243, 251, 235, 203, 139, 11, 22, 44, 88, 176, 125, 250, 233, 207, 131, 27, 54, 108, 216, 173, 71, 142, 1]
-
- logTable
+ logTable
= [
0,
@@ -495,38 +496,38 @@ where the least-significant bit represents the constant coefficient
-
- addOrSubtract()
+ addOrSubtract()
: int
- Implements both addition and subtraction -- they are the same in GF(size).
-
- buildMonomial()
+ buildMonomial()
: GenericGFPoly
-
- exp()
+ exp()
: int
-
- inverse()
+ inverse()
: int
-
- log()
+ log()
: int
-
- multiply()
+ multiply()
: int
@@ -557,6 +558,7 @@ where the least-significant bit represents the constant coefficient
+
private
mixed
@@ -589,6 +591,7 @@ where the least-significant bit represents the constant coefficient
irreducible polynomial whose coefficients are represented by the bits of an int,
where the least-significant bit represents the constant coefficient
+
private
mixed
@@ -899,6 +902,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -957,6 +961,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -1030,6 +1035,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -1081,6 +1087,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -1147,6 +1154,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -1213,6 +1221,7 @@ where the least-significant bit represents the constant coefficient
+
Parameters
-
@@ -1357,8 +1366,8 @@ where the least-significant bit represents the constant coefficient
- Constants
-
@@ -1366,12 +1375,12 @@ where the least-significant bit represents the constant coefficient
- Methods
-
- - addOrSubtract()
- - buildMonomial()
- - exp()
- - inverse()
- - log()
- - multiply()
+ - addOrSubtract()
+ - buildMonomial()
+ - exp()
+ - inverse()
+ - log()
+ - multiply()
diff --git a/classes/chillerlan-QRCode-Common-GenericGFPoly.html b/classes/chillerlan-QRCode-Common-GenericGFPoly.html
index d981ee7bb..c1d49ebac 100644
--- a/classes/chillerlan-QRCode-Common-GenericGFPoly.html
+++ b/classes/chillerlan-QRCode-Common-GenericGFPoly.html
@@ -158,6 +158,7 @@
Represents a polynomial whose coefficients are elements of a GF.
+
Instances of this class are immutable.
Much credit is due to William Rucklidge since portions of this code are an indirect
port of his C++ Reed-Solomon implementation.
@@ -206,7 +207,7 @@ port of his C++ Reed-Solomon implementation.
-
- $coefficients
+ $coefficients
: array<string|int, mixed>
@@ -220,73 +221,73 @@ port of his C++ Reed-Solomon implementation.
-
- __construct()
+ __construct()
: mixed
-
- addOrSubtract()
+ addOrSubtract()
: self
-
- divide()
+ divide()
: array<string|int, GenericGFPoly>
-
- evaluateAt()
+ evaluateAt()
: int
-
- getCoefficient()
+ getCoefficient()
: int
-
- getCoefficients()
+ getCoefficients()
: array<string|int, int>
-
- getDegree()
+ getDegree()
: int
-
- isZero()
+ isZero()
: bool
-
- mod()
+ mod()
: self
-
- multiply()
+ multiply()
: self
-
- multiplyByMonomial()
+ multiplyByMonomial()
: self
-
- multiplyInt()
+ multiplyInt()
: self
@@ -326,6 +327,7 @@ port of his C++ Reed-Solomon implementation.
+
private
array<string|int, mixed>
@@ -373,6 +375,7 @@ port of his C++ Reed-Solomon implementation.
+
Parameters
-
@@ -444,6 +447,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -491,6 +495,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -557,6 +562,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -608,6 +614,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -661,6 +668,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
@@ -698,6 +706,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
@@ -739,6 +748,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
@@ -778,6 +788,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -825,6 +836,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -872,6 +884,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -941,6 +954,7 @@ is not a constant polynomial (that is, it is not the monomial "0")
+
Parameters
-
@@ -1075,25 +1089,25 @@ is not a constant polynomial (that is, it is not the monomial "0")
- Properties
-
- Methods
-
- - __construct()
- - addOrSubtract()
- - divide()
- - evaluateAt()
- - getCoefficient()
- - getCoefficients()
- - getDegree()
- - isZero()
- - mod()
- - multiply()
- - multiplyByMonomial()
- - multiplyInt()
+ - __construct()
+ - addOrSubtract()
+ - divide()
+ - evaluateAt()
+ - getCoefficient()
+ - getCoefficients()
+ - getDegree()
+ - isZero()
+ - mod()
+ - multiply()
+ - multiplyByMonomial()
+ - multiplyInt()
diff --git a/classes/chillerlan-QRCode-Common-IMagickLuminanceSource.html b/classes/chillerlan-QRCode-Common-IMagickLuminanceSource.html
index 34366fbb8..7d889f3ec 100644
--- a/classes/chillerlan-QRCode-Common-IMagickLuminanceSource.html
+++ b/classes/chillerlan-QRCode-Common-IMagickLuminanceSource.html
@@ -169,6 +169,7 @@ It does not support rotation.
+
Table of Contents
@@ -190,31 +191,31 @@ It does not support rotation.
-
- $height
+ $height
: int
-
- $luminances
+ $luminances
: array<string|int, mixed>
-
- $options
+ $options
: SettingsContainerInterface|QROptions
-
- $width
+ $width
: int
-
- $imagick
+ $imagick
: Imagick
@@ -228,34 +229,34 @@ It does not support rotation.
-
- __construct()
+ __construct()
: mixed
- IMagickLuminanceSource constructor.
-
- fromBlob()
+ fromBlob()
: static
- Creates a LuminanceSource instance from the given data blob
-
- fromFile()
+ fromFile()
: static
- Creates a LuminanceSource instance from the given file
-
- getHeight()
+ getHeight()
: int
-
- getLuminances()
+ getLuminances()
: array<string|int, mixed>
@@ -263,7 +264,7 @@ It does not support rotation.
`int luminance = array[y * width + x] & 0xff`
-
- getRow()
+ getRow()
: array<string|int, mixed>
@@ -274,25 +275,25 @@ to only fetch this row rather than the whole image, since no 2D Readers may be i
getLuminances() may never be called.
-
- getWidth()
+ getWidth()
: int
-
- checkFile()
+ checkFile()
: string
-
- setLuminancePixel()
+ setLuminancePixel()
: void
-
- setLuminancePixels()
+ setLuminancePixels()
: void
@@ -332,6 +333,7 @@ getLuminances() may never be called.
+
protected
int
@@ -367,6 +369,7 @@ getLuminances() may never be called.
+
protected
array<string|int, mixed>
@@ -402,6 +405,7 @@ getLuminances() may never be called.
+
protected
SettingsContainerInterface|QROptions
@@ -437,6 +441,7 @@ getLuminances() may never be called.
+
protected
int
@@ -472,6 +477,7 @@ getLuminances() may never be called.
+
private
Imagick
@@ -520,6 +526,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -571,6 +578,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -640,6 +648,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -710,6 +719,7 @@ getLuminances() may never be called.
+
Tags
@@ -767,6 +777,7 @@ getLuminances() may never be called.
+
Tags
@@ -827,6 +838,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -896,6 +908,7 @@ getLuminances() may never be called.
+
Tags
@@ -949,6 +962,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -1011,6 +1025,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -1070,6 +1085,7 @@ getLuminances() may never be called.
+
@@ -1188,27 +1204,27 @@ getLuminances() may never be called.
- Properties
-
- - $height
- - $luminances
- - $options
- - $width
- - $imagick
+ - $height
+ - $luminances
+ - $options
+ - $width
+ - $imagick
- Methods
-
- - __construct()
- - fromBlob()
- - fromFile()
- - getHeight()
- - getLuminances()
- - getRow()
- - getWidth()
- - checkFile()
- - setLuminancePixel()
- - setLuminancePixels()
+ - __construct()
+ - fromBlob()
+ - fromFile()
+ - getHeight()
+ - getLuminances()
+ - getRow()
+ - getWidth()
+ - checkFile()
+ - setLuminancePixel()
+ - setLuminancePixels()
diff --git a/classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html b/classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html
index 3bc875fd3..5c501effd 100644
--- a/classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html
+++ b/classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html
@@ -164,6 +164,7 @@ platforms into a standard interface for requesting greyscale luminance values.
+
Tags
@@ -213,25 +214,25 @@ platforms into a standard interface for requesting greyscale luminance values.
-
- $height
+ $height
: int
-
- $luminances
+ $luminances
: array<string|int, mixed>
-
- $options
+ $options
: SettingsContainerInterface|QROptions
-
- $width
+ $width
: int
@@ -245,19 +246,19 @@ platforms into a standard interface for requesting greyscale luminance values.
-
- __construct()
+ __construct()
: mixed
-
- getHeight()
+ getHeight()
: int
-
- getLuminances()
+ getLuminances()
: array<string|int, mixed>
@@ -265,7 +266,7 @@ platforms into a standard interface for requesting greyscale luminance values.
`int luminance = array[y * width + x] & 0xff`
-
- getRow()
+ getRow()
: array<string|int, mixed>
@@ -276,19 +277,19 @@ to only fetch this row rather than the whole image, since no 2D Readers may be i
getLuminances() may never be called.
-
- getWidth()
+ getWidth()
: int
-
- checkFile()
+ checkFile()
: string
-
- setLuminancePixel()
+ setLuminancePixel()
: void
@@ -328,6 +329,7 @@ getLuminances() may never be called.
+
protected
int
@@ -363,6 +365,7 @@ getLuminances() may never be called.
+
protected
array<string|int, mixed>
@@ -398,6 +401,7 @@ getLuminances() may never be called.
+
protected
SettingsContainerInterface|QROptions
@@ -433,6 +437,7 @@ getLuminances() may never be called.
+
protected
int
@@ -480,6 +485,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -539,6 +545,7 @@ getLuminances() may never be called.
+
Tags
@@ -596,6 +603,7 @@ getLuminances() may never be called.
+
Tags
@@ -656,6 +664,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -725,6 +734,7 @@ getLuminances() may never be called.
+
Tags
@@ -778,6 +788,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -840,6 +851,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -984,23 +996,23 @@ getLuminances() may never be called.
- Properties
-
- - $height
- - $luminances
- - $options
- - $width
+ - $height
+ - $luminances
+ - $options
+ - $width
- Methods
-
diff --git a/classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html b/classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html
index a6430d1df..ff04df07b 100644
--- a/classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html
+++ b/classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html
@@ -153,6 +153,7 @@
+
Table of Contents
@@ -175,27 +176,27 @@
-
- fromBlob()
+ fromBlob()
: static
- Creates a LuminanceSource instance from the given data blob
-
- fromFile()
+ fromFile()
: static
- Creates a LuminanceSource instance from the given file
-
- getHeight()
+ getHeight()
: int
-
- getLuminances()
+ getLuminances()
: array<string|int, mixed>
@@ -203,7 +204,7 @@
`int luminance = array[y * width + x] & 0xff`
-
- getRow()
+ getRow()
: array<string|int, mixed>
@@ -214,7 +215,7 @@ to only fetch this row rather than the whole image, since no 2D Readers may be i
getLuminances() may never be called.
-
- getWidth()
+ getWidth()
: int
@@ -259,6 +260,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -314,6 +316,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -370,6 +373,7 @@ getLuminances() may never be called.
+
@@ -413,6 +417,7 @@ getLuminances() may never be called.
+
@@ -459,6 +464,7 @@ getLuminances() may never be called.
+
Parameters
-
@@ -529,6 +535,7 @@ getLuminances() may never be called.
+
@@ -654,12 +661,12 @@ getLuminances() may never be called.
- Methods
-
- - fromBlob()
- - fromFile()
- - getHeight()
- - getLuminances()
- - getRow()
- - getWidth()
+ - fromBlob()
+ - fromFile()
+ - getHeight()
+ - getLuminances()
+ - getRow()
+ - getWidth()
diff --git a/classes/chillerlan-QRCode-Common-MaskPattern.html b/classes/chillerlan-QRCode-Common-MaskPattern.html
index d61d97691..ca9803ab9 100644
--- a/classes/chillerlan-QRCode-Common-MaskPattern.html
+++ b/classes/chillerlan-QRCode-Common-MaskPattern.html
@@ -161,6 +161,7 @@ ISO/IEC 18004:2000 Section 8.8.2 - Evaluation of masking results
+
Tags
@@ -208,85 +209,85 @@ ISO/IEC 18004:2000 Section 8.8.2 - Evaluation of masking results
-
- AUTO
+ AUTO
= -1
-
- PATTERN_000
+ PATTERN_000
= 0b0
-
- PATTERN_001
+ PATTERN_001
= 0b1
-
- PATTERN_010
+ PATTERN_010
= 0b10
-
- PATTERN_011
+ PATTERN_011
= 0b11
-
- PATTERN_100
+ PATTERN_100
= 0b100
-
- PATTERN_101
+ PATTERN_101
= 0b101
-
- PATTERN_110
+ PATTERN_110
= 0b110
-
- PATTERN_111
+ PATTERN_111
= 0b111
-
- PATTERNS
+ PATTERNS
= [self::PATTERN_000, self::PATTERN_001, self::PATTERN_010, self::PATTERN_011, self::PATTERN_100, self::PATTERN_101, self::PATTERN_110, self::PATTERN_111]
-
- PENALTY_N1
+ PENALTY_N1
= 3
-
- PENALTY_N2
+ PENALTY_N2
= 3
-
- PENALTY_N3
+ PENALTY_N3
= 40
-
- PENALTY_N4
+ PENALTY_N4
= 10
@@ -301,7 +302,7 @@ ISO/IEC 18004:2000 Section 8.8.2 - Evaluation of masking results
-
- $maskPattern
+ $maskPattern
: int
@@ -316,35 +317,35 @@ ISO/IEC 18004:2000 Section 8.8.2 - Evaluation of masking results
-
- __construct()
+ __construct()
: mixed
- MaskPattern constructor.
-
- getBestPattern()
+ getBestPattern()
: self
- Evaluates the matrix of the given data interface and returns a new mask pattern instance for the best result
-
- getMask()
+ getMask()
: Closure
- Returns a closure that applies the mask for the chosen mask pattern.
-
- getPattern()
+ getPattern()
: int
- Returns the current mask pattern
-
- testRule1()
+ testRule1()
: int
@@ -352,7 +353,7 @@ ISO/IEC 18004:2000 Section 8.8.2 - Evaluation of masking results
give penalty to them. Example: 00000 or 11111.
-
- testRule2()
+ testRule2()
: int
@@ -361,7 +362,7 @@ penalty to them. This is actually equivalent to the spec's rule, which is t
penalty proportional to (M-1)x(N-1), because this is the number of 2x2 blocks inside such a block.
-
- testRule3()
+ testRule3()
: int
@@ -370,7 +371,7 @@ starting with black, or 4:1:1:3:1:1 starting with white, and give penalty to the
find patterns like 000010111010000, we give penalty once.
-
- testRule4()
+ testRule4()
: int
@@ -378,19 +379,19 @@ find patterns like 000010111010000, we give penalty once.
penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
-
- applyRule1()
+ applyRule1()
: int
-
- isWhiteHorizontal()
+ isWhiteHorizontal()
: bool
-
- isWhiteVertical()
+ isWhiteVertical()
: bool
@@ -421,6 +422,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
int
@@ -466,6 +468,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -496,6 +499,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -526,6 +530,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -556,6 +561,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -586,6 +592,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -616,6 +623,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -646,6 +654,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -676,6 +685,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
mixed
@@ -706,6 +716,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
public
array<string|int, int>
@@ -736,6 +747,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
private
mixed
@@ -766,6 +778,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
private
mixed
@@ -796,6 +809,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
private
mixed
@@ -826,6 +840,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
private
mixed
@@ -873,6 +888,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
The current mask pattern value (0-7)
+
private
int
@@ -921,6 +937,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -980,6 +997,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -1027,6 +1045,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Note that the diagram in section 6.8.1 is misleading since it indicates that $i is column position
and $j is row position. In fact, as the text says, $i is row position and $j is column position.
@@ -1094,6 +1113,7 @@ and $j is row position. In fact, as the text says, $i is row position and $j is
+
@@ -1131,6 +1151,7 @@ give penalty to them. Example: 00000 or 11111.
+
Parameters
-
@@ -1195,6 +1216,7 @@ penalty proportional to (M-1)x(N-1), because this is the number of 2x2 blocks in
+
Parameters
-
@@ -1259,6 +1281,7 @@ find patterns like 000010111010000, we give penalty once.
+
Parameters
-
@@ -1322,6 +1345,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -1383,6 +1407,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -1430,6 +1455,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -1498,6 +1524,7 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
+
Parameters
-
@@ -1660,44 +1687,44 @@ penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance.
- Constants
-
- - AUTO
- - PATTERN_000
- - PATTERN_001
- - PATTERN_010
- - PATTERN_011
- - PATTERN_100
- - PATTERN_101
- - PATTERN_110
- - PATTERN_111
- - PATTERNS
- - PENALTY_N1
- - PENALTY_N2
- - PENALTY_N3
- - PENALTY_N4
+ - AUTO
+ - PATTERN_000
+ - PATTERN_001
+ - PATTERN_010
+ - PATTERN_011
+ - PATTERN_100
+ - PATTERN_101
+ - PATTERN_110
+ - PATTERN_111
+ - PATTERNS
+ - PENALTY_N1
+ - PENALTY_N2
+ - PENALTY_N3
+ - PENALTY_N4
- Properties
-
- Methods
-
- - __construct()
- - getBestPattern()
- - getMask()
- - getPattern()
- - testRule1()
- - testRule2()
- - testRule3()
- - testRule4()
- - applyRule1()
- - isWhiteHorizontal()
- - isWhiteVertical()
+ - __construct()
+ - getBestPattern()
+ - getMask()
+ - getPattern()
+ - testRule1()
+ - testRule2()
+ - testRule3()
+ - testRule4()
+ - applyRule1()
+ - isWhiteHorizontal()
+ - isWhiteVertical()
diff --git a/classes/chillerlan-QRCode-Common-Mode.html b/classes/chillerlan-QRCode-Common-Mode.html
index cddbbab13..207e174ea 100644
--- a/classes/chillerlan-QRCode-Common-Mode.html
+++ b/classes/chillerlan-QRCode-Common-Mode.html
@@ -165,6 +165,7 @@
+
Table of Contents
@@ -184,75 +185,75 @@
-
- ALPHANUM
+ ALPHANUM
= 0b10
-
- BYTE
+ BYTE
= 0b100
-
- ECI
+ ECI
= 0b111
-
- FNC1_FIRST
+ FNC1_FIRST
= 0b101
-
- FNC1_SECOND
+ FNC1_SECOND
= 0b1001
-
- HANZI
+ HANZI
= 0b1101
-
- INTERFACES
+ INTERFACES
= [self::NUMBER => \chillerlan\QRCode\Data\Number::class, self::ALPHANUM => \chillerlan\QRCode\Data\AlphaNum::class, self::KANJI => \chillerlan\QRCode\Data\Kanji::class, self::HANZI => \chillerlan\QRCode\Data\Hanzi::class, self::BYTE => \chillerlan\QRCode\Data\Byte::class]
- Map of data mode => interface (detection order)
-
- KANJI
+ KANJI
= 0b1000
-
- LENGTH_BITS
+ LENGTH_BITS
= [self::NUMBER => [10, 12, 14], self::ALPHANUM => [9, 11, 13], self::BYTE => [8, 16, 16], self::KANJI => [8, 10, 12], self::HANZI => [8, 10, 12], self::ECI => [0, 0, 0]]
- mode length bits for the version breakpoints 1-9, 10-26 and 27-40
-
- NUMBER
+ NUMBER
= 0b1
-
- STRCTURED_APPEND
+ STRCTURED_APPEND
= 0b11
-
- TERMINATOR
+ TERMINATOR
= 0b0
@@ -268,7 +269,7 @@
-
- getLengthBitsForVersion()
+ getLengthBitsForVersion()
: int
@@ -300,6 +301,7 @@
+
public
int
@@ -330,6 +332,7 @@
+
public
int
@@ -360,6 +363,7 @@
+
public
int
@@ -390,6 +394,7 @@
+
public
int
@@ -420,6 +425,7 @@
+
public
int
@@ -450,6 +456,7 @@
+
public
int
@@ -481,6 +488,7 @@
Map of data mode => interface (detection order)
+
public
array<string|int, string>
@@ -511,6 +519,7 @@
+
public
int
@@ -542,6 +551,7 @@
mode length bits for the version breakpoints 1-9, 10-26 and 27-40
+
public
mixed
@@ -574,6 +584,7 @@
+
public
int
@@ -604,6 +615,7 @@
+
public
int
@@ -634,6 +646,7 @@
+
public
int
@@ -686,6 +699,7 @@
+
Parameters
-
@@ -841,18 +855,18 @@
- Constants
-
- - ALPHANUM
- - BYTE
- - ECI
- - FNC1_FIRST
- - FNC1_SECOND
- - HANZI
- - INTERFACES
- - KANJI
- - LENGTH_BITS
- - NUMBER
- - STRCTURED_APPEND
- - TERMINATOR
+ - ALPHANUM
+ - BYTE
+ - ECI
+ - FNC1_FIRST
+ - FNC1_SECOND
+ - HANZI
+ - INTERFACES
+ - KANJI
+ - LENGTH_BITS
+ - NUMBER
+ - STRCTURED_APPEND
+ - TERMINATOR
@@ -860,7 +874,7 @@
- Methods
-
diff --git a/classes/chillerlan-QRCode-Common-Version.html b/classes/chillerlan-QRCode-Common-Version.html
index b57b720cc..85ea99050 100644
--- a/classes/chillerlan-QRCode-Common-Version.html
+++ b/classes/chillerlan-QRCode-Common-Version.html
@@ -165,6 +165,7 @@
+
Table of Contents
@@ -184,35 +185,35 @@
-
- AUTO
+ AUTO
= -1
- Enable version auto detection
-
- ALIGNMENT_PATTERN
+ ALIGNMENT_PATTERN
= [1 => [], 2 => [6, 18], 3 => [6, 22], 4 => [6, 26], 5 => [6, 30], 6 => [6, 34], 7 => [6, 22, 38], 8 => [6, 24, 42], 9 => [6, 26, 46], 10 => [6, 28, 50], 11 => [6, 30, 54], 12 => [6, 32, 58], 13 => [6, 34, 62], 14 => [6, 26, 46, 66], 15 => [6, 26, 48, 70], 16 => [6, 26, 50, 74], 17 => [6, 30, 54, 78], 18 => [6, 30, 56, 82], 19 => [6, 30, 58, 86], 20 => [6, 34, 62, 90], 21 => [6, 28, 50, 72, 94], 22 => [6, 26, 50, 74, 98], 23 => [6, 30, 54, 78, 102], 24 => [6, 28, 54, 80, 106], 25 => [6, 32, 58, 84, 110], 26 => [6, 30, 58, 86, 114], 27 => [6, 34, 62, 90, 118], 28 => [6, 26, 50, 74, 98, 122], 29 => [6, 30, 54, 78, 102, 126], 30 => [6, 26, 52, 78, 104, 130], 31 => [6, 30, 56, 82, 108, 134], 32 => [6, 34, 60, 86, 112, 138], 33 => [6, 30, 58, 86, 114, 142], 34 => [6, 34, 62, 90, 118, 146], 35 => [6, 30, 54, 78, 102, 126, 150], 36 => [6, 24, 50, 76, 102, 128, 154], 37 => [6, 28, 54, 80, 106, 132, 158], 38 => [6, 32, 58, 84, 110, 136, 162], 39 => [6, 26, 54, 82, 110, 138, 166], 40 => [6, 30, 58, 86, 114, 142, 170]]
- ISO/IEC 18004:2000 Annex E, Table E.1 - Row/column coordinates of center module of Alignment Patterns
-
- RSBLOCKS
+ RSBLOCKS
= [1 => [[7, [[1, 19], [0, 0]]], [10, [[1, 16], [0, 0]]], [13, [[1, 13], [0, 0]]], [17, [[1, 9], [0, 0]]]], 2 => [[10, [[1, 34], [0, 0]]], [16, [[1, 28], [0, 0]]], [22, [[1, 22], [0, 0]]], [28, [[1, 16], [0, 0]]]], 3 => [[15, [[1, 55], [0, 0]]], [26, [[1, 44], [0, 0]]], [18, [[2, 17], [0, 0]]], [22, [[2, 13], [0, 0]]]], 4 => [[20, [[1, 80], [0, 0]]], [18, [[2, 32], [0, 0]]], [26, [[2, 24], [0, 0]]], [16, [[4, 9], [0, 0]]]], 5 => [[26, [[1, 108], [0, 0]]], [24, [[2, 43], [0, 0]]], [18, [[2, 15], [2, 16]]], [22, [[2, 11], [2, 12]]]], 6 => [[18, [[2, 68], [0, 0]]], [16, [[4, 27], [0, 0]]], [24, [[4, 19], [0, 0]]], [28, [[4, 15], [0, 0]]]], 7 => [[20, [[2, 78], [0, 0]]], [18, [[4, 31], [0, 0]]], [18, [[2, 14], [4, 15]]], [26, [[4, 13], [1, 14]]]], 8 => [[24, [[2, 97], [0, 0]]], [22, [[2, 38], [2, 39]]], [22, [[4, 18], [2, 19]]], [26, [[4, 14], [2, 15]]]], 9 => [[30, [[2, 116], [0, 0]]], [22, [[3, 36], [2, 37]]], [20, [[4, 16], [4, 17]]], [24, [[4, 12], [4, 13]]]], 10 => [[18, [[2, 68], [2, 69]]], [26, [[4, 43], [1, 44]]], [24, [[6, 19], [2, 20]]], [28, [[6, 15], [2, 16]]]], 11 => [[20, [[4, 81], [0, 0]]], [30, [[1, 50], [4, 51]]], [28, [[4, 22], [4, 23]]], [24, [[3, 12], [8, 13]]]], 12 => [[24, [[2, 92], [2, 93]]], [22, [[6, 36], [2, 37]]], [26, [[4, 20], [6, 21]]], [28, [[7, 14], [4, 15]]]], 13 => [[26, [[4, 107], [0, 0]]], [22, [[8, 37], [1, 38]]], [24, [[8, 20], [4, 21]]], [22, [[12, 11], [4, 12]]]], 14 => [[30, [[3, 115], [1, 116]]], [24, [[4, 40], [5, 41]]], [20, [[11, 16], [5, 17]]], [24, [[11, 12], [5, 13]]]], 15 => [[22, [[5, 87], [1, 88]]], [24, [[5, 41], [5, 42]]], [30, [[5, 24], [7, 25]]], [24, [[11, 12], [7, 13]]]], 16 => [[24, [[5, 98], [1, 99]]], [28, [[7, 45], [3, 46]]], [24, [[15, 19], [2, 20]]], [30, [[3, 15], [13, 16]]]], 17 => [[28, [[1, 107], [5, 108]]], [28, [[10, 46], [1, 47]]], [28, [[1, 22], [15, 23]]], [28, [[2, 14], [17, 15]]]], 18 => [[30, [[5, 120], [1, 121]]], [26, [[9, 43], [4, 44]]], [28, [[17, 22], [1, 23]]], [28, [[2, 14], [19, 15]]]], 19 => [[28, [[3, 113], [4, 114]]], [26, [[3, 44], [11, 45]]], [26, [[17, 21], [4, 22]]], [26, [[9, 13], [16, 14]]]], 20 => [[28, [[3, 107], [5, 108]]], [26, [[3, 41], [13, 42]]], [30, [[15, 24], [5, 25]]], [28, [[15, 15], [10, 16]]]], 21 => [[28, [[4, 116], [4, 117]]], [26, [[17, 42], [0, 0]]], [28, [[17, 22], [6, 23]]], [30, [[19, 16], [6, 17]]]], 22 => [[28, [[2, 111], [7, 112]]], [28, [[17, 46], [0, 0]]], [30, [[7, 24], [16, 25]]], [24, [[34, 13], [0, 0]]]], 23 => [[30, [[4, 121], [5, 122]]], [28, [[4, 47], [14, 48]]], [30, [[11, 24], [14, 25]]], [30, [[16, 15], [14, 16]]]], 24 => [[30, [[6, 117], [4, 118]]], [28, [[6, 45], [14, 46]]], [30, [[11, 24], [16, 25]]], [30, [[30, 16], [2, 17]]]], 25 => [[26, [[8, 106], [4, 107]]], [28, [[8, 47], [13, 48]]], [30, [[7, 24], [22, 25]]], [30, [[22, 15], [13, 16]]]], 26 => [[28, [[10, 114], [2, 115]]], [28, [[19, 46], [4, 47]]], [28, [[28, 22], [6, 23]]], [30, [[33, 16], [4, 17]]]], 27 => [[30, [[8, 122], [4, 123]]], [28, [[22, 45], [3, 46]]], [30, [[8, 23], [26, 24]]], [30, [[12, 15], [28, 16]]]], 28 => [[30, [[3, 117], [10, 118]]], [28, [[3, 45], [23, 46]]], [30, [[4, 24], [31, 25]]], [30, [[11, 15], [31, 16]]]], 29 => [[30, [[7, 116], [7, 117]]], [28, [[21, 45], [7, 46]]], [30, [[1, 23], [37, 24]]], [30, [[19, 15], [26, 16]]]], 30 => [[30, [[5, 115], [10, 116]]], [28, [[19, 47], [10, 48]]], [30, [[15, 24], [25, 25]]], [30, [[23, 15], [25, 16]]]], 31 => [[30, [[13, 115], [3, 116]]], [28, [[2, 46], [29, 47]]], [30, [[42, 24], [1, 25]]], [30, [[23, 15], [28, 16]]]], 32 => [[30, [[17, 115], [0, 0]]], [28, [[10, 46], [23, 47]]], [30, [[10, 24], [35, 25]]], [30, [[19, 15], [35, 16]]]], 33 => [[30, [[17, 115], [1, 116]]], [28, [[14, 46], [21, 47]]], [30, [[29, 24], [19, 25]]], [30, [[11, 15], [46, 16]]]], 34 => [[30, [[13, 115], [6, 116]]], [28, [[14, 46], [23, 47]]], [30, [[44, 24], [7, 25]]], [30, [[59, 16], [1, 17]]]], 35 => [[30, [[12, 121], [7, 122]]], [28, [[12, 47], [26, 48]]], [30, [[39, 24], [14, 25]]], [30, [[22, 15], [41, 16]]]], 36 => [[30, [[6, 121], [14, 122]]], [28, [[6, 47], [34, 48]]], [30, [[46, 24], [10, 25]]], [30, [[2, 15], [64, 16]]]], 37 => [[30, [[17, 122], [4, 123]]], [28, [[29, 46], [14, 47]]], [30, [[49, 24], [10, 25]]], [30, [[24, 15], [46, 16]]]], 38 => [[30, [[4, 122], [18, 123]]], [28, [[13, 46], [32, 47]]], [30, [[48, 24], [14, 25]]], [30, [[42, 15], [32, 16]]]], 39 => [[30, [[20, 117], [4, 118]]], [28, [[40, 47], [7, 48]]], [30, [[43, 24], [22, 25]]], [30, [[10, 15], [67, 16]]]], 40 => [[30, [[19, 118], [6, 119]]], [28, [[18, 47], [31, 48]]], [30, [[34, 24], [34, 25]]], [30, [[20, 15], [61, 16]]]]]
- ISO/IEC 18004:2000 Tables 13-22 - Error correction characteristics
-
- TOTAL_CODEWORDS
+ TOTAL_CODEWORDS
= [1 => 26, 2 => 44, 3 => 70, 4 => 100, 5 => 134, 6 => 172, 7 => 196, 8 => 242, 9 => 292, 10 => 346, 11 => 404, 12 => 466, 13 => 532, 14 => 581, 15 => 655, 16 => 733, 17 => 815, 18 => 901, 19 => 991, 20 => 1085, 21 => 1156, 22 => 1258, 23 => 1364, 24 => 1474, 25 => 1588, 26 => 1706, 27 => 1828, 28 => 1921, 29 => 2051, 30 => 2185, 31 => 2323, 32 => 2465, 33 => 2611, 34 => 2761, 35 => 2876, 36 => 3034, 37 => 3196, 38 => 3362, 39 => 3532, 40 => 3706]
- ISO/IEC 18004:2000 Table 1 - Data capacity of all versions of QR Code
-
- VERSION_PATTERN
+ VERSION_PATTERN
= [7 => 0b111110010010100, 8 => 0b1000010110111100, 9 => 0b1001101010011001, 10 => 0b1010010011010011, 11 => 0b1011101111110110, 12 => 0b1100011101100010, 13 => 0b1101100001000111, 14 => 0b1110011000001101, 15 => 0b1111100100101000, 16 => 0b10000101101111000, 17 => 0b10001010001011101, 18 => 0b10010101000010111, 19 => 0b10011010100110010, 20 => 0b10100100110100110, 21 => 0b10101011010000011, 22 => 0b10110100011001001, 23 => 0b10111011111101100, 24 => 0b11000111011000100, 25 => 0b11001000111100001, 26 => 0b11010111110101011, 27 => 0b11011000010001110, 28 => 0b11100110000011010, 29 => 0b11101001100111111, 30 => 0b11110110101110101, 31 => 0b11111001001010000, 32 => 0b100000100111010101, 33 => 0b100001011011110000, 34 => 0b100010100010111010, 35 => 0b100011011110011111, 36 => 0b100100101100001011, 37 => 0b100101010000101110, 38 => 0b100110101001100100, 39 => 0b100111010101000001, 40 => 0b101000110001101001]
@@ -228,7 +229,7 @@
-
- $version
+ $version
: int
@@ -243,56 +244,56 @@
-
- __construct()
+ __construct()
: mixed
- Version constructor.
-
- __toString()
+ __toString()
: string
- returns the current version number as string
-
- getAlignmentPattern()
+ getAlignmentPattern()
: array<string|int, int>
- the alignment patterns for the current version
-
- getDimension()
+ getDimension()
: int
- the matrix size for the given version
-
- getRSBlocks()
+ getRSBlocks()
: array<string|int, mixed>
- returns ECC block information for the given $version and $eccLevel
-
- getTotalCodewords()
+ getTotalCodewords()
: int
- returns the maximum codewords for the current version
-
- getVersionNumber()
+ getVersionNumber()
: int
- returns the current version number
-
- getVersionPattern()
+ getVersionPattern()
: int|null
@@ -325,6 +326,7 @@
Enable version auto detection
+
public
int
@@ -371,6 +373,7 @@
ISO/IEC 18004:2000 Annex E, Table E.1 - Row/column coordinates of center module of Alignment Patterns
+
private
array<string|int, array<string|int, int>>
@@ -404,6 +407,7 @@
ISO/IEC 18004:2000 Tables 13-22 - Error correction characteristics
+
private
mixed
@@ -450,6 +454,7 @@
ISO/IEC 18004:2000 Table 1 - Data capacity of all versions of QR Code
+
private
mixed
@@ -481,6 +486,7 @@
ISO/IEC 18004:2000 Annex D, Table D.1 - Version information bit stream for each version
+
private
array<string|int, int>
@@ -530,6 +536,7 @@
QR Code version number
+
private
int
@@ -578,6 +585,7 @@
+
Parameters
-
@@ -639,6 +647,7 @@
+
@@ -677,6 +686,7 @@
+
@@ -715,6 +725,7 @@
+
@@ -751,6 +762,7 @@
+
Parameters
-
@@ -801,6 +813,7 @@
+
@@ -839,6 +852,7 @@
+
@@ -877,6 +891,7 @@
+
@@ -999,32 +1014,32 @@
- Constants
-
- Properties
-
- Methods
-
- - __construct()
- - __toString()
- - getAlignmentPattern()
- - getDimension()
- - getRSBlocks()
- - getTotalCodewords()
- - getVersionNumber()
- - getVersionPattern()
+ - __construct()
+ - __toString()
+ - getAlignmentPattern()
+ - getDimension()
+ - getRSBlocks()
+ - getTotalCodewords()
+ - getVersionNumber()
+ - getVersionPattern()
diff --git a/classes/chillerlan-QRCode-Data-AlphaNum.html b/classes/chillerlan-QRCode-Data-AlphaNum.html
index 5427f5b21..744f3de8e 100644
--- a/classes/chillerlan-QRCode-Data-AlphaNum.html
+++ b/classes/chillerlan-QRCode-Data-AlphaNum.html
@@ -161,6 +161,7 @@
Alphanumeric mode: 0 to 9, A to Z, space, $ % * + - . / :
+
ISO/IEC 18004:2000 Section 8.3.3
ISO/IEC 18004:2000 Section 8.4.3
@@ -190,13 +191,13 @@ ISO/IEC 18004:2000 Section 8.4.3
-
- DATAMODE
+ DATAMODE
= \chillerlan\QRCode\Common\Mode::ALPHANUM
-
- CHAR_TO_ORD
+ CHAR_TO_ORD
= ['0' => 0, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, 'A' => 10, 'B' => 11, 'C' => 12, 'D' => 13, 'E' => 14, 'F' => 15, 'G' => 16, 'H' => 17, 'I' => 18, 'J' => 19, 'K' => 20, 'L' => 21, 'M' => 22, 'N' => 23, 'O' => 24, 'P' => 25, 'Q' => 26, 'R' => 27, 'S' => 28, 'T' => 29, 'U' => 30, 'V' => 31, 'W' => 32, 'X' => 33, 'Y' => 34, 'Z' => 35, ' ' => 36, '$' => 37, '%' => 38, '*' => 39, '+' => 40, '-' => 41, '.' => 42, '/' => 43, ':' => 44]
@@ -212,7 +213,7 @@ ISO/IEC 18004:2000 Section 8.4.3
-
- $data
+ $data
: string
@@ -227,56 +228,56 @@ ISO/IEC 18004:2000 Section 8.4.3
-
- __construct()
+ __construct()
: mixed
- QRDataModeAbstract constructor.
-
- convertEncoding()
+ convertEncoding()
: string
- encoding conversion helper
-
- decodeSegment()
+ decodeSegment()
: string
- reads a segment from the BitBuffer and decodes in the current data mode
-
- getLengthInBits()
+ getLengthInBits()
: int
- retruns the length in bits of the data string
-
- validateString()
+ validateString()
: bool
- checks if the given string qualifies for the encoder module
-
- write()
+ write()
: static
- writes the actual data string to the BitBuffer, uses the given version to determine the length bits
-
- getCharCount()
+ getCharCount()
: int
- returns the character count of the $data string
-
- getLengthBits()
+ getLengthBits()
: int
@@ -308,6 +309,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
public
mixed
@@ -353,6 +355,7 @@ ISO/IEC 18004:2000 Section 8.4.3
ISO/IEC 18004:2000 Table 5
+
private
array<string|int, int>
@@ -400,6 +403,7 @@ ISO/IEC 18004:2000 Section 8.4.3
The data to write
+
protected
string
@@ -448,6 +452,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -507,6 +512,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -569,6 +575,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -648,6 +655,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Tags
@@ -698,6 +706,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -760,6 +769,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -831,6 +841,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
@@ -867,6 +878,7 @@ ISO/IEC 18004:2000 Section 8.4.3
+
Parameters
-
@@ -1001,29 +1013,29 @@ ISO/IEC 18004:2000 Section 8.4.3
- Constants
-
- - DATAMODE
- - CHAR_TO_ORD
+ - DATAMODE
+ - CHAR_TO_ORD
- Properties
-
- Methods
-
diff --git a/classes/chillerlan-QRCode-Data-Byte.html b/classes/chillerlan-QRCode-Data-Byte.html
index d88d0b21c..13d78dd3d 100644
--- a/classes/chillerlan-QRCode-Data-Byte.html
+++ b/classes/chillerlan-QRCode-Data-Byte.html
@@ -161,6 +161,7 @@
8-bit Byte mode, ISO-8859-1 or UTF-8
+
ISO/IEC 18004:2000 Section 8.3.4
ISO/IEC 18004:2000 Section 8.4.4
@@ -190,7 +191,7 @@ ISO/IEC 18004:2000 Section 8.4.4
-
- DATAMODE
+ DATAMODE
= \chillerlan\QRCode\Common\Mode::BYTE
@@ -205,7 +206,7 @@ ISO/IEC 18004:2000 Section 8.4.4
-
- $data
+ $data
: string
@@ -220,56 +221,56 @@ ISO/IEC 18004:2000 Section 8.4.4
-
- __construct()
+ __construct()
: mixed
- QRDataModeAbstract constructor.
-
- convertEncoding()
+ convertEncoding()
: string
- encoding conversion helper
-
- decodeSegment()
+ decodeSegment()
: string
- reads a segment from the BitBuffer and decodes in the current data mode
-
- getLengthInBits()
+ getLengthInBits()
: int
- retruns the length in bits of the data string
-
- validateString()
+ validateString()
: bool
- checks if the given string qualifies for the encoder module
-
- write()
+ write()
: static
- writes the actual data string to the BitBuffer, uses the given version to determine the length bits
-
- getCharCount()
+ getCharCount()
: int
- returns the character count of the $data string
-
- getLengthBits()
+ getLengthBits()
: int
@@ -301,6 +302,7 @@ ISO/IEC 18004:2000 Section 8.4.4
+
public
mixed
@@ -362,6 +364,7 @@ ISO/IEC 18004:2000 Section 8.4.4
The data to write
+
protected
string
@@ -410,6 +413,7 @@ ISO/IEC 18004:2000 Section 8.4.4
+
Parameters
-
@@ -469,6 +473,7 @@ ISO/IEC 18004:2000 Section 8.4.4