+ getEccLevel() + +
+ + +Returns the current ECC level
+ +
+ public
+ getEccLevel() : EccLevel|null
+
+
+
+
+
+ From 5e7102b1f1d76231af7e9f4e25828988d59020e3 Mon Sep 17 00:00:00 2001
From: codemasher
public
- static getBestPattern(QRData $dataInterface) : self
+ static getBestPattern(QRMatrix $QRMatrix) : self
Parameters
public
- writeMatrix(MaskPattern $maskPattern) : QRMatrix
+ writeMatrix() : QRMatrix
- the current ECC level
+the current ECC level - always set in QRMatrix, may be null in BitMatrix
protected
@@ -1200,11 +1235,11 @@ returns true if a match is found, otherwise false.
- the used mask pattern, set via QRMatrix::mask()
+ the mask pattern that was used in the most recent operation, set via:
protected
@@ -1212,7 +1247,13 @@ returns true if a match is found, otherwise false.
$maskPattern
= null
-
+
+- QRMatrix::setFormatInfo()
+- QRMatrix::mask()
+- BitMatrix::readFormatInformation()
+
+
+
@@ -1234,7 +1275,7 @@ returns true if a match is found, otherwise false.
@@ -1267,7 +1308,7 @@ returns true if a match is found, otherwise false.
@@ -1301,11 +1342,11 @@ returns true if a match is found, otherwise false.
- a Version instance
+ the matrix version - always set in QRMatrix, may be null in BitMatrix
protected
@@ -1339,7 +1380,7 @@ returns true if a match is found, otherwise false.
@@ -1347,7 +1388,7 @@ returns true if a match is found, otherwise false.
public
- __construct(Version $version, EccLevel $eccLevel, MaskPattern $maskPattern) : mixed
+ __construct(Version $version, EccLevel $eccLevel) : mixed
Parameters
@@ -1367,14 +1408,6 @@ returns true if a match is found, otherwise false.
-
-
- $maskPattern
- : MaskPattern
-
-
-
-
@@ -1399,7 +1432,7 @@ returns true if a match is found, otherwise false.
@@ -1451,7 +1484,7 @@ returns true if a match is found, otherwise false.
@@ -1517,7 +1550,7 @@ starting with the lowest bit for top left, going clockwise:
@@ -1579,7 +1612,7 @@ starting with the lowest bit for top left, going clockwise:
@@ -1631,7 +1664,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
eccLevel()
@@ -1640,19 +1673,49 @@ returns true if a match is found, otherwise false.
-
Returns the current ECC level
-
-
+
+
public
eccLevel() : EccLevel|null
+
+ Tags
+
+
+
Return values
EccLevel|null
@@ -1673,7 +1736,7 @@ returns true if a match is found, otherwise false.
@@ -1725,7 +1788,7 @@ returns true if a match is found, otherwise false.
@@ -1763,6 +1826,184 @@ returns true if a match is found, otherwise false.
—
+
+
+
+ getEccLevel()
+
+
+
+
+ Returns the current ECC level
+
+
+ public
+ getEccLevel() : EccLevel|null
+
+
+
+
+
+ Return values
+ EccLevel|null
+ —
+
+
+
+
+
+ getMaskPattern()
+
+
+
+
+ Returns the current mask pattern
+
+
+ public
+ getMaskPattern() : MaskPattern|null
+
+
+
+
+
+ Return values
+ MaskPattern|null
+ —
+
+
+
+
+
+ getMatrix()
+
+
+
+
+ Returns the data matrix, returns a pure boolean representation if $boolean is set to true
+
+
+ public
+ getMatrix([bool $boolean = null ]) : array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+
+
+ Parameters
+
+ -
+ $boolean
+ : bool
+ = null
+ -
+
+
+
+
+
+
+
+ Return values
+ array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ —
+
+
+
+
+
+ getSize()
+
+
+
+
+ Returns the absoulute size of the matrix, including quiet zone (after setting it).
+
+
+ public
+ getSize() : int
+
+ size = version * 4 + 17 [ + 2 * quietzone size]
+
+
+
+
+
+ Return values
+ int
+ —
+
+
+
+
+
+ getVersion()
+
+
+
+
+ Returns the current version number
+
+
+ public
+ getVersion() : Version|null
+
+
+
+
+
+ Return values
+ Version|null
+ —
+
+
QRMatrix.php
:
- 133
+ 136
@@ -1810,7 +2051,7 @@ returns true if a match is found, otherwise false.
@@ -1818,12 +2059,23 @@ returns true if a match is found, otherwise false.
public
- mask() : self
+ mask(MaskPattern $maskPattern) : self
ISO/IEC 18004:2000 Section 8.8.1
-
+ Parameters
+
+ -
+ $maskPattern
+ : MaskPattern
+
+ -
+
+
+
+
+
Return values
@@ -1836,7 +2088,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
maskPattern()
@@ -1845,19 +2097,49 @@ returns true if a match is found, otherwise false.
-
Returns the current mask pattern
-
-
+
+
public
maskPattern() : MaskPattern|null
+
+ Tags
+
+
+
Return values
MaskPattern|null
@@ -1869,7 +2151,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
matrix()
@@ -1878,15 +2160,14 @@ returns true if a match is found, otherwise false.
-
Returns the data matrix, returns a pure boolean representation if $boolean is set to true
-
-
+
+
public
- matrix([bool $boolean = null ]) : array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ matrix([bool $boolean = null ]) : array<string|int, mixed>
Parameters
@@ -1902,9 +2183,40 @@ returns true if a match is found, otherwise false.
+
+ Tags
+
+
+
Return values
- array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ array<string|int, mixed>
—
@@ -1922,7 +2234,7 @@ returns true if a match is found, otherwise false.
@@ -1993,7 +2305,7 @@ false => $M_TYPE
@@ -2028,7 +2340,7 @@ false => $M_TYPE
@@ -2063,7 +2375,7 @@ false => $M_TYPE
@@ -2098,20 +2410,31 @@ false => $M_TYPE
- Draws the format info along the finder patterns
+ Draws the format info along the finder patterns. If no $maskPattern, all format info modules will be set to false.
public
- setFormatInfo() : self
+ setFormatInfo([MaskPattern $maskPattern = null ]) : self
ISO/IEC 18004:2000 Section 8.9
-
+ Parameters
+
+ -
+ $maskPattern
+ : MaskPattern
+ = null
+ -
+
+
+
+
+
Return values
@@ -2133,7 +2456,7 @@ false => $M_TYPE
@@ -2232,7 +2555,7 @@ Note that there is no restiction on how many times this method could be called o
@@ -2292,7 +2615,7 @@ Note that there is no restiction on how many times this method could be called o
@@ -2327,7 +2650,7 @@ Note that there is no restiction on how many times this method could be called o
@@ -2362,7 +2685,7 @@ Note that there is no restiction on how many times this method could be called o
@@ -2388,7 +2711,7 @@ Note that there is no restiction on how many times this method could be called o
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
size()
@@ -2397,21 +2720,49 @@ Note that there is no restiction on how many times this method could be called o
-
Returns the absoulute size of the matrix, including quiet zone (after setting it).
-
-
+
+
public
size() : int
- size = version * 4 + 17 [ + 2 * quietzone size]
+
+
+
+
+ Tags
+
+
+
Return values
int
@@ -2423,7 +2774,7 @@ Note that there is no restiction on how many times this method could be called o
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
version()
@@ -2432,19 +2783,49 @@ Note that there is no restiction on how many times this method could be called o
-
Returns the current version number
-
-
+
+
public
version() : Version|null
+
+ Tags
+
+
+
Return values
Version|null
@@ -2465,7 +2846,7 @@ Note that there is no restiction on how many times this method could be called o
@@ -2509,7 +2890,7 @@ Note that there is no restiction on how many times this method could be called o
diff --git a/classes/chillerlan-QRCode-Decoder-BitMatrix.html b/classes/chillerlan-QRCode-Decoder-BitMatrix.html
index 276e1e9a7..f40b82cac 100644
--- a/classes/chillerlan-QRCode-Decoder-BitMatrix.html
+++ b/classes/chillerlan-QRCode-Decoder-BitMatrix.html
@@ -376,14 +376,14 @@
: EccLevel|null
the current ECC level
+the current ECC level - always set in QRMatrix, may be null in BitMatrix
protected
@@ -1469,11 +1504,11 @@ QR Code. Throws if the exact number of bytes expected is not read.
- the used mask pattern, set via QRMatrix::mask()
+ the mask pattern that was used in the most recent operation, set via:
protected
@@ -1481,7 +1516,13 @@ QR Code. Throws if the exact number of bytes expected is not read.
$maskPattern
= null
-
+
+- QRMatrix::setFormatInfo()
+- QRMatrix::mask()
+- BitMatrix::readFormatInformation()
+
+
+
@@ -1503,7 +1544,7 @@ QR Code. Throws if the exact number of bytes expected is not read.
@@ -1536,7 +1577,7 @@ QR Code. Throws if the exact number of bytes expected is not read.
@@ -1570,11 +1611,11 @@ QR Code. Throws if the exact number of bytes expected is not read.
- a Version instance
+ the matrix version - always set in QRMatrix, may be null in BitMatrix
protected
@@ -1701,7 +1742,7 @@ QR Code. Throws if the exact number of bytes expected is not read.
@@ -1753,7 +1794,7 @@ QR Code. Throws if the exact number of bytes expected is not read.
@@ -1819,7 +1860,7 @@ starting with the lowest bit for top left, going clockwise:
@@ -1881,7 +1922,7 @@ starting with the lowest bit for top left, going clockwise:
@@ -1933,7 +1974,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
eccLevel()
@@ -1942,19 +1983,49 @@ returns true if a match is found, otherwise false.
-
Returns the current ECC level
-
-
+
+
public
eccLevel() : EccLevel|null
+
+ Tags
+
+
+
Return values
EccLevel|null
@@ -1975,7 +2046,7 @@ returns true if a match is found, otherwise false.
@@ -2027,7 +2098,7 @@ returns true if a match is found, otherwise false.
@@ -2065,6 +2136,184 @@ returns true if a match is found, otherwise false.
—
+
+
+
+ getEccLevel()
+
+
+
+
+ Returns the current ECC level
+
+
+ public
+ getEccLevel() : EccLevel|null
+
+
+
+
+
+ Return values
+ EccLevel|null
+ —
+
+
+
+
+
+ getMaskPattern()
+
+
+
+
+ Returns the current mask pattern
+
+
+ public
+ getMaskPattern() : MaskPattern|null
+
+
+
+
+
+ Return values
+ MaskPattern|null
+ —
+
+
+
+
+
+ getMatrix()
+
+
+
+
+ Returns the data matrix, returns a pure boolean representation if $boolean is set to true
+
+
+ public
+ getMatrix([bool $boolean = null ]) : array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+
+
+ Parameters
+
+ -
+ $boolean
+ : bool
+ = null
+ -
+
+
+
+
+
+
+
+ Return values
+ array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ —
+
+
+
+
+
+ getSize()
+
+
+
+
+ Returns the absoulute size of the matrix, including quiet zone (after setting it).
+
+
+ public
+ getSize() : int
+
+ size = version * 4 + 17 [ + 2 * quietzone size]
+
+
+
+
+
+ Return values
+ int
+ —
+
+
+
+
+
+ getVersion()
+
+
+
+
+ Returns the current version number
+
+
+ public
+ getVersion() : Version|null
+
+
+
+
+
+ Return values
+ Version|null
+ —
+
+
QRMatrix.php
:
- 133
+ 136
@@ -2112,7 +2361,7 @@ returns true if a match is found, otherwise false.
@@ -2120,12 +2369,23 @@ returns true if a match is found, otherwise false.
public
- mask() : self
+ mask(MaskPattern $maskPattern) : self
ISO/IEC 18004:2000 Section 8.8.1
-
+ Parameters
+
+ -
+ $maskPattern
+ : MaskPattern
+
+ -
+
+
+
+
+
Return values
@@ -2138,7 +2398,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
maskPattern()
@@ -2147,19 +2407,49 @@ returns true if a match is found, otherwise false.
-
Returns the current mask pattern
-
-
+
+
public
maskPattern() : MaskPattern|null
+
+ Tags
+
+
+
Return values
MaskPattern|null
@@ -2171,7 +2461,7 @@ returns true if a match is found, otherwise false.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
matrix()
@@ -2180,15 +2470,14 @@ returns true if a match is found, otherwise false.
-
Returns the data matrix, returns a pure boolean representation if $boolean is set to true
-
-
+
+
public
- matrix([bool $boolean = null ]) : array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ matrix([bool $boolean = null ]) : array<string|int, mixed>
Parameters
@@ -2204,9 +2493,40 @@ returns true if a match is found, otherwise false.
+
+ Tags
+
+
+
Return values
- array<string|int, array<string|int, int>>|array<string|int, array<string|int, bool>>
+ array<string|int, mixed>
—
@@ -2306,7 +2626,7 @@ QR Code. Throws if the exact number of bytes expected is not read.
@@ -2377,7 +2697,7 @@ false => $M_TYPE
@@ -2412,7 +2732,7 @@ false => $M_TYPE
@@ -2447,7 +2767,7 @@ false => $M_TYPE
@@ -2482,20 +2802,31 @@ false => $M_TYPE
- Draws the format info along the finder patterns
+ Draws the format info along the finder patterns. If no $maskPattern, all format info modules will be set to false.
public
- setFormatInfo() : self
+ setFormatInfo([MaskPattern $maskPattern = null ]) : self
ISO/IEC 18004:2000 Section 8.9
-
+ Parameters
+
+ -
+ $maskPattern
+ : MaskPattern
+ = null
+ -
+
+
+
+
+
Return values
@@ -2517,7 +2848,7 @@ false => $M_TYPE
@@ -2654,7 +2985,7 @@ mirror() method should be called.
@@ -2719,7 +3050,7 @@ mirror() method should be called.
@@ -2754,7 +3085,7 @@ mirror() method should be called.
@@ -2789,7 +3120,7 @@ mirror() method should be called.
@@ -2815,7 +3146,7 @@ mirror() method should be called.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
size()
@@ -2824,21 +3155,49 @@ mirror() method should be called.
-
Returns the absoulute size of the matrix, including quiet zone (after setting it).
-
-
+
+
public
size() : int
- size = version * 4 + 17 [ + 2 * quietzone size]
+
+
+
+
+ Tags
+
+
+
Return values
int
@@ -2850,7 +3209,7 @@ mirror() method should be called.
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
version()
@@ -2859,19 +3218,49 @@ mirror() method should be called.
-
Returns the current version number
-
-
+
+
public
version() : Version|null
+
+ Tags
+
+
+
Return values
Version|null
@@ -2892,7 +3281,7 @@ mirror() method should be called.
@@ -2936,7 +3325,7 @@ mirror() method should be called.
@@ -2988,7 +3377,7 @@ mirror() method should be called.
@@ -3047,7 +3436,7 @@ mirror() method should be called.
@@ -3091,7 +3480,7 @@ mirror() method should be called.
@@ -3143,7 +3532,7 @@ mirror() method should be called.
@@ -3194,7 +3583,7 @@ mirror() method should be called.
@@ -3243,7 +3632,7 @@ mirror() method should be called.
@@ -3301,7 +3690,7 @@ mirror() method should be called.
diff --git a/classes/chillerlan-QRCode-Decoder-DecoderResult.html b/classes/chillerlan-QRCode-Decoder-DecoderResult.html
index 6cbebf72e..2da065f44 100644
--- a/classes/chillerlan-QRCode-Decoder-DecoderResult.html
+++ b/classes/chillerlan-QRCode-Decoder-DecoderResult.html
@@ -258,7 +258,7 @@ as well as a String interpretation of those bytes, if applicable.
- getMatrix()
+ getQRMatrix()
: QRMatrix
@@ -884,9 +884,9 @@ as well as a String interpretation of those bytes, if applicable.
-public
"
>
-
- getMatrix()
-
+
+ getQRMatrix()
+
diff --git a/classes/chillerlan-QRCode-Output-QREps.html b/classes/chillerlan-QRCode-Output-QREps.html
index d6a237055..50e7a4198 100644
--- a/classes/chillerlan-QRCode-Output-QREps.html
+++ b/classes/chillerlan-QRCode-Output-QREps.html
@@ -418,7 +418,7 @@ returns an array with the transformed modules
see