- -
+
-
$addLogoSpace
- : bool
+ : bool
- Toggles logo space creation
-
$addQuietzone
- : bool
+ : bool
- Add a "quiet zone" (margin) according to the QR code spec
-
$cachefile
- : string|null
+ : string|null
- /path/to/cache.file
-
$circleRadius
- : float
+ : float
- specifies the radius of the modules when $svgDrawCircularModules is set to true
-
$cssClass
- : string
+ : string
- a common css class
-
$drawCircularModules
- : bool
+ : bool
- specify whether to draw the modules as filled circles
-
$eccLevel
- : int
+ : int
- Error correct level
-
$eol
- : string
+ : string
- newline string [HTML, SVG, TEXT]
-
$fpdfMeasureUnit
- : string
+ : string
- Measurement unit for FPDF output: pt, mm, cm, in (defaults to "pt")
-
$imageBase64
- : bool
+ : bool
- toggle base64 or raw image data
-
$imageTransparencyBG
- : array<string|int, mixed>
+ : array<string|int, mixed>
-
$imageTransparent
- : bool
+ : bool
- toggle transparency, not supported by jpg
-
$imagickBG
- : string|null
+ : string|null
- Imagick background color (defaults to "transparent")
-
$imagickFormat
- : string
+ : string
- Imagick output format
-
$jpegQuality
- : int
+ : int
-
$keepAsSquare
- : array<string|int, mixed>
+ : array<string|int, mixed>
- specifies which module types to exclude when $svgDrawCircularModules is set to true
-
$logoSpaceHeight
- : int
+ : int
- height of the logo space
-
$logoSpaceStartX
- : int|null
+ : int|null
- optional horizontal start position of the logo space (top left corner)
-
$logoSpaceStartY
- : int|null
+ : int|null
- optional vertical start position of the logo space (top left corner)
-
$logoSpaceWidth
- : int
+ : int
- width of the logo space
-
$markupDark
- : string
+ : string
- markup substitute for dark (CSS value)
-
$markupLight
- : string
+ : string
- markup substitute for light (CSS value)
-
$maskPattern
- : int
+ : int
- Mask Pattern to use (no value in using, mostly for unit testing purposes)
-
$moduleValues
- : array<string|int, mixed>|null
+ : array<string|int, mixed>|null
- Module values map
-
$outputInterface
- : string|null
+ : string|null
- the FQCN of the custom QROutputInterface if $outputType is set to QRCode::OUTPUT_CUSTOM
-
$outputType
- : string
+ : string
- The output type
-
$pngCompression
- : int
+ : int
-
$quietzoneSize
- : int
+ : int
- Size of the quiet zone
-
$readerGrayscale
- : bool
+ : bool
- grayscale the image before reading
-
$readerIncreaseContrast
- : bool
+ : bool
- increase the contrast before reading
-
$readerUseImagickIfAvailable
- : bool
+ : bool
- use Imaagick (if available) when reading QR Codes
-
$returnResource
- : bool
+ : bool
- Return the image resource instead of a render if applicable.
-
$scale
- : int
+ : int
- size of a QR code pixel [SVG, IMAGE_*], HTML via CSS
-
$svgConnectPaths
- : bool
+ : bool
- whether to connect the paths for the several module types to avoid weird glitches when using gradients etc.
-
$svgDefs
- : string
+ : string
- anything between <defs>
-
$svgExcludeFromConnect
- : array<string|int, mixed>
+ : array<string|int, mixed>
- specify which paths/patterns to exclude from connecting if $svgConnectPaths is set to true
-
$svgHeight
- : string|null
+ : string|null
- optional "height" attribute with the specified value (note that the value is not checked!)
-
$svgOpacity
- : float
+ : float
- SVG opacity
-
$svgPreserveAspectRatio
- : string
+ : string
-
$svgViewBoxSize
- : int|null
+ : int|null
- SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.
-
$svgWidth
- : string|null
+ : string|null
- optional "width" attribute with the specified value (note that the value is not checked!)
-
$textDark
- : string
+ : string
- string substitute for dark
-
$textLight
- : string
+ : string
- string substitute for light
-
$version
- : int
+ : int
- QR Code version number
-
$versionMax
- : int
+ : int
- Maximum QR version
-
$versionMin
- : int
+ : int
- Minimum QR version
-
getLuminanceSourceFQCN()
- : string
+ : string
- returns the FQCN of the luminance source class to use in the reader (GD or Imagick)
-
clampLogoSpaceValue()
- : int
+ : int
- clamp the logo space values between 0 and maximum length (177 modules at version 40)
-
set_eccLevel()
- : void
+ : void
- sets the error correction level
-
set_fpdfMeasureUnit()
- : void
+ : void
- sets the FPDF measurement unit
-
set_imageTransparencyBG()
- : void
+ : void
- sets the transparency background color
-
set_logoSpaceHeight()
- : void
+ : void
- clamp/set logo space height
-
set_logoSpaceStartX()
- : void
+ : void
- clamp/set horizontal logo space start
-
set_logoSpaceStartY()
- : void
+ : void
- clamp/set vertical logo space start
-
set_logoSpaceWidth()
- : void
+ : void
- clamp/set logo space width
-
set_maskPattern()
- : void
+ : void
- sets/clamps the mask pattern
-
set_readerUseImagickIfAvailable()
- : void
+ : void
- enables Imagick for the QR Code reader if the extension is available
-
set_version()
- : void
+ : void
- sets/clamps the version number
-
set_versionMax()
- : void
+ : void
- sets the maximum version number
-
set_versionMin()
- : void
+ : void
- sets the minimum version number
-
setMinMaxVersion()
- : void
+ : void
- clamp min/max version number
@@ -801,7 +806,7 @@
protected
int
$eccLevel
- = chillerlanQRCodeCommonEccLevel::L
+ = \chillerlan\QRCode\Common\EccLevel::L
QRCode::ECC_X where X is: