From 12373bc21bbc94b042962e859bbe541740f8d1f7 Mon Sep 17 00:00:00 2001 From: codemasher Date: Sat, 4 May 2024 20:54:38 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20chillerl?= =?UTF-8?q?an/php-qrcode@b231433d56512eb1fd31895e14e4f8c7c6a459fe=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...RCode-Output-CssColorModuleValueTrait.html | 565 +++++ ...lan-QRCode-Output-QRInterventionImage.html | 2172 +++++++++++++++++ .../chillerlan-QRCode-Output-QRMarkup.html | 104 +- ...chillerlan-QRCode-Output-QRMarkupHTML.html | 25 +- .../chillerlan-QRCode-Output-QRMarkupSVG.html | 8 +- .../chillerlan-QRCode-Output-QRMarkupXML.html | 49 +- ...chillerlan-QRCode-Output-QRStringJSON.html | 326 ++- classes/chillerlan-QRCode-QROptions.html | 152 +- classes/chillerlan-QRCode-QROptionsTrait.html | 154 +- ...tput-CssColorModuleValueProviderTrait.html | 392 +++ ...deTest-Output-QRInterventionImageTest.html | 1230 ++++++++++ ...RCodeTest-Output-QRMarkupTestAbstract.html | 19 +- ...an-QRCodeTest-Output-QRStringJSONTest.html | 71 +- .../src-output-csscolormodulevaluetrait.html | 338 +++ files/src-output-qrinterventionimage.html | 338 +++ ...tput-csscolormodulevalueprovidertrait.html | 338 +++ .../tests-output-qrinterventionimagetest.html | 338 +++ indices/files.html | 9 +- js/searchIndex.js | 176 +- namespaces/chillerlan-qrcode-output.html | 12 +- namespaces/chillerlan-qrcodetest-output.html | 12 +- packages/Application.html | 6 +- 22 files changed, 6345 insertions(+), 489 deletions(-) create mode 100644 classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html create mode 100644 classes/chillerlan-QRCode-Output-QRInterventionImage.html create mode 100644 classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html create mode 100644 classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html create mode 100644 files/src-output-csscolormodulevaluetrait.html create mode 100644 files/src-output-qrinterventionimage.html create mode 100644 files/tests-output-csscolormodulevalueprovidertrait.html create mode 100644 files/tests-output-qrinterventionimagetest.html diff --git a/classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html b/classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html new file mode 100644 index 000000000..7dcc52df0 --- /dev/null +++ b/classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html @@ -0,0 +1,565 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
+

Documentation

+ + + + + +
+ +
+
+ + + + +
+
+ + +
+

+ CssColorModuleValueTrait +

+ + + +

Module value checks for output classes that use CSS colors

+ + + + + + +

+ Table of Contents + + +

+ + + + + + + + + + +

+ Methods + + +

+
+
+ moduleValueIsValid() + +  : bool +
+
note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included
+ +
+ getDefaultModuleValue() + +  : string +
+ +
+ prepareModuleValue() + +  : string +
+ +
+ + + + + + + + +
+

+ Methods + + +

+
+

+ moduleValueIsValid() + + +

+ + +

note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included

+ + + public + static moduleValueIsValid(mixed $value) : bool + +
+
+ +
Parameters
+
+
+ $value + : mixed +
+
+ +
+
+ + +
+ Tags + + +
+
+
+ todo: +
+
+ +

XSS proof

+
+ +
+
+ see +
+
+ https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + + +
+
+ implements +
+
+ +

\chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

+
+ +
+
+ inheritDoc +
+
+ + +
+
+ +
+
Return values
+ bool +
+ +
+
+

+ getDefaultModuleValue() + + +

+ + + + + protected + getDefaultModuleValue(bool $isDark) : string + +
+
+ +
Parameters
+
+
+ $isDark + : bool +
+
+ +
+
+ + +
+ Tags + + +
+
+
+ implements +
+
+ +

\chillerlan\QRCode\Output\QROutputAbstract::getDefaultModuleValue()

+
+ +
+
+ inheritDoc +
+
+ + +
+
+ +
+
Return values
+ string +
+ +
+
+

+ prepareModuleValue() + + +

+ + + + + protected + prepareModuleValue(mixed $value) : string + +
+
+ +
Parameters
+
+
+ $value + : mixed +
+
+ +
+
+ + +
+ Tags + + +
+
+
+ implements +
+
+ +

\chillerlan\QRCode\Output\QROutputAbstract::prepareModuleValue()

+
+ +
+
+ inheritDoc +
+
+ + +
+
+ +
+
Return values
+ string +
+ +
+
+ +
+
+
+
+

+        
+ +
+
+ + + +
+
+
+ +
+ On this page + + +
+ +
+
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    + + +
    + + + + + + + + diff --git a/classes/chillerlan-QRCode-Output-QRInterventionImage.html b/classes/chillerlan-QRCode-Output-QRInterventionImage.html new file mode 100644 index 000000000..3a73adf2f --- /dev/null +++ b/classes/chillerlan-QRCode-Output-QRInterventionImage.html @@ -0,0 +1,2172 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
    +

    Documentation

    + + + + + +
    + +
    +
    + + + + +
    +
    + + +
    +

    + QRInterventionImage + + + extends QROutputAbstract + + +
    + in package + +
    + + + + Uses + CssColorModuleValueTrait +

    + +
    + + +
    + + + +

    intervention/image (GD/ImageMagick) output

    + +

    note: this output class works very slow compared to the native GD/Imagick output classes for obvious reasons. +use only if you must.

    +
    + + +
    + Tags + + +
    +
    +
    + see +
    +
    + https://github.com/Intervention/image + + +
    +
    + see +
    +
    + https://image.intervention.io/ + + +
    +
    + + + +

    + Table of Contents + + +

    + + + + + + + + + +

    + Properties + + +

    +
    +
    + $circleDiameter + +  : float +
    + +
    + $circleRadius + +  : float +
    + +
    + $connectPaths + +  : bool +
    + +
    + $drawCircularModules + +  : bool +
    + +
    + $drawLightModules + +  : bool +
    + +
    + $driver + +  : DriverInterface +
    + +
    + $eol + +  : string +
    + +
    + $excludeFromConnect + +  : array<string|int, mixed> +
    + +
    + $image + +  : ImageInterface +
    + +
    + $keepAsSquare + +  : array<string|int, mixed> +
    + +
    + $length + +  : int +
    +
    the side length of the QR image (modules * scale)
    + +
    + $manager + +  : ImageManagerInterface +
    + +
    + $matrix + +  : QRMatrix +
    +
    the (filled) data matrix object
    + +
    + $moduleCount + +  : int +
    +
    the current size of the QR matrix
    + +
    + $moduleValues + +  : array<string|int, mixed> +
    +
    an (optional) array of color values for the several QR matrix parts
    + +
    + $options + +  : SettingsContainerInterface|QROptions +
    +
    the options instance
    + +
    + $scale + +  : int +
    + +
    + +

    + Methods + + +

    +
    +
    + __construct() + +  : mixed +
    +
    QRInterventionImage constructor.
    + +
    + dump() + +  : string|ImageInterface +
    + +
    + moduleValueIsValid() + +  : bool +
    +
    note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included
    + +
    + setDriver() + +  : static +
    +
    Sets a DriverInterface
    + +
    + collectModules() + +  : array<string|int, mixed> +
    +
    collects the modules per QRMatrix::M_* type and runs a $transform function on each module and +returns an array with the transformed modules
    + +
    + copyVars() + +  : void +
    +
    Creates copies of several QROptions values to avoid calling the magic getters +in long loops for a significant performance increase.
    + +
    + getDefaultModuleValue() + +  : mixed +
    +
    Returns a default value for either dark or light modules (return value depends on the output class)
    + +
    + getModuleValue() + +  : mixed +
    +
    Returns the prepared value for the given $M_TYPE
    + +
    + getModuleValueAt() + +  : mixed +
    +
    Returns the prepared module value at the given coordinate [$x, $y] (convenience)
    + +
    + getOutputDimensions() + +  : array<string|int, mixed> +
    +
    Returns a 2 element array with the current output width and height
    + +
    + module() + +  : void +
    +
    draws a single pixel at the given position
    + +
    + prepareModuleValue() + +  : mixed +
    +
    Prepares the value for the given input (return value depends on the output class)
    + +
    + saveToFile() + +  : void +
    +
    Saves the qr $data to a $file. If $file is null, nothing happens.
    + +
    + setMatrixDimensions() + +  : void +
    +
    Sets/updates the matrix dimensions
    + +
    + setModuleValues() + +  : void +
    +
    Sets the initial module values
    + +
    + toBase64DataURI() + +  : string +
    +
    Returns a base64 data URI for the given string and mime type
    + +
    + + + + + + + +
    +

    + Properties + + +

    +
    +

    + $circleDiameter + + + + +

    + + + + + protected + float + $circleDiameter + + + + + + +
    +
    +

    + $circleRadius + + + + +

    + + + + + protected + float + $circleRadius + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$circleRadius + + +
    +
    + +
    +
    +

    + $connectPaths + + + + +

    + + + + + protected + bool + $connectPaths + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$connectPaths + + +
    +
    + +
    +
    +

    + $drawCircularModules + + + + +

    + + + + + protected + bool + $drawCircularModules + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$drawCircularModules + + +
    +
    + +
    +
    +

    + $drawLightModules + + + + +

    + + + + + protected + bool + $drawLightModules + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$drawLightModules + + +
    +
    + +
    +
    +

    + $driver + + + + +

    + + + + + protected + DriverInterface + $driver + + + + + + +
    +
    +

    + $eol + + + + +

    + + + + + protected + string + $eol + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$eol + + +
    +
    + +
    +
    +

    + $excludeFromConnect + + + + +

    + + + + + protected + array<string|int, mixed> + $excludeFromConnect + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$excludeFromConnect + + +
    +
    + +
    +
    +

    + $image + + + + +

    + + + + + protected + ImageInterface + $image + + + + + + +
    +
    +

    + $keepAsSquare + + + + +

    + + + + + protected + array<string|int, mixed> + $keepAsSquare + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$keepAsSquare + + +
    +
    + +
    +
    +

    + $length + + + + +

    + + +

    the side length of the QR image (modules * scale)

    + + + protected + int + $length + + + + + + +
    +
    +

    + $manager + + + + +

    + + + + + protected + ImageManagerInterface + $manager + + + + + + +
    +
    +

    + $matrix + + + + +

    + + +

    the (filled) data matrix object

    + + + protected + QRMatrix + $matrix + + + + + + +
    +
    +

    + $moduleCount + + + + +

    + + +

    the current size of the QR matrix

    + + + protected + int + $moduleCount + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QRMatrix::getSize() + + +
    +
    + +
    +
    +

    + $moduleValues + + + + +

    + + +

    an (optional) array of color values for the several QR matrix parts

    + + + protected + array<string|int, mixed> + $moduleValues + + + + + + +
    +
    +

    + $options + + + + +

    + + +

    the options instance

    + + + protected + SettingsContainerInterface|QROptions + $options + + + + + + +
    +
    +

    + $scale + + + + +

    + + + + + protected + int + $scale + + + + + +
    + Tags + + +
    +
    +
    + see +
    +
    + QROptions::$scale + + +
    +
    + +
    +
    + +
    +

    + Methods + + +

    +
    +

    + __construct() + + +

    + + +

    QRInterventionImage constructor.

    + + + public + __construct(SettingsContainerInterface|QROptions $options, QRMatrix $matrix) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $options + : SettingsContainerInterface|QROptions +
    +
    + +
    +
    + $matrix + : QRMatrix +
    +
    + +
    +
    + + +
    + Tags + + +
    +
    +
    + throws +
    +
    + QRCodeOutputException + + +
    +
    + + +
    +
    +

    + dump() + + +

    + + + + + public + dump([string $file = null ]) : string|ImageInterface + +
    +
    + +
    Parameters
    +
    +
    + $file + : string + = null
    +
    + +
    +
    + + +
    + Tags + + +
    +
    +
    + inheritDoc +
    +
    + + +
    +
    + +
    +
    Return values
    + string|ImageInterface +
    + +
    +
    +

    + moduleValueIsValid() + + +

    + + +

    note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included

    + + + public + static moduleValueIsValid(mixed $value) : bool + +
    +
    + +
    Parameters
    +
    +
    + $value + : mixed +
    +
    + +
    +
    + + +
    + Tags + + +
    +
    +
    + todo: +
    +
    + +

    XSS proof

    +
    + +
    +
    + see +
    +
    + https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + + +
    +
    + implements +
    +
    + +

    \chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

    +
    + +
    +
    + inheritDoc +
    +
    + + +
    +
    + +
    +
    Return values
    + bool +
    + +
    +
    +

    + setDriver() + + +

    + + +

    Sets a DriverInterface

    + + + public + setDriver(DriverInterface $driver) : static + +
    +
    + +
    Parameters
    +
    +
    + $driver + : DriverInterface +
    +
    + +
    +
    + + + +
    +
    Return values
    + static +
    + +
    +
    +

    + collectModules() + + +

    + + +

    collects the modules per QRMatrix::M_* type and runs a $transform function on each module and +returns an array with the transformed modules

    + + + protected + collectModules(Closure $transform) : array<string|int, mixed> + +
    +
    +

    The transform callback is called with the following parameters:

    +

    $x - current column +$y - current row +$M_TYPE - field value +$M_TYPE_LAYER - (possibly modified) field value that acts as layer id

    +
    + +
    Parameters
    +
    +
    + $transform + : Closure +
    +
    + +
    +
    + + + +
    +
    Return values
    + array<string|int, mixed> +
    + +
    +
    +

    + copyVars() + + +

    + + +

    Creates copies of several QROptions values to avoid calling the magic getters +in long loops for a significant performance increase.

    + + + protected + copyVars() : void + +
    +
    +

    These variables are usually used in the "module" methods and are called up to 31329 times (at version 40).

    +
    + + + + + +
    +
    +

    + getDefaultModuleValue() + + +

    + + +

    Returns a default value for either dark or light modules (return value depends on the output class)

    + + + protected + abstract getDefaultModuleValue(bool $isDark) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $isDark + : bool +
    +
    + +
    +
    + + + + +
    +
    +

    + getModuleValue() + + +

    + + +

    Returns the prepared value for the given $M_TYPE

    + + + protected + getModuleValue(int $M_TYPE) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $M_TYPE + : int +
    +
    + +
    +
    + + +
    + Tags + + +
    +
    +
    + throws +
    +
    + QRCodeOutputException + +

    if $moduleValues[$M_TYPE] doesn't exist

    +
    + +
    +
    + + +
    +
    +

    + getModuleValueAt() + + +

    + + +

    Returns the prepared module value at the given coordinate [$x, $y] (convenience)

    + + + protected + getModuleValueAt(int $x, int $y) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $x + : int +
    +
    + +
    +
    + $y + : int +
    +
    + +
    +
    + + + + +
    +
    +

    + getOutputDimensions() + + +

    + + +

    Returns a 2 element array with the current output width and height

    + + + protected + getOutputDimensions() : array<string|int, mixed> + +
    +
    +

    The type and units of the values depend on the output class. The default value is the current module count * scale.

    +
    + + + + +
    +
    Return values
    + array<string|int, mixed> +
    + +
    +
    +

    + module() + + +

    + + +

    draws a single pixel at the given position

    + + + protected + module(int $x, int $y, int $M_TYPE) : void + +
    +
    + +
    Parameters
    +
    +
    + $x + : int +
    +
    + +
    +
    + $y + : int +
    +
    + +
    +
    + $M_TYPE + : int +
    +
    + +
    +
    + + + + +
    +
    +

    + prepareModuleValue() + + +

    + + +

    Prepares the value for the given input (return value depends on the output class)

    + + + protected + abstract prepareModuleValue(mixed $value) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $value + : mixed +
    +
    + +
    +
    + + + + +
    +
    +

    + saveToFile() + + +

    + + +

    Saves the qr $data to a $file. If $file is null, nothing happens.

    + + + protected + saveToFile(string $data[, string $file = null ]) : void + +
    +
    + +
    Parameters
    +
    +
    + $data + : string +
    +
    + +
    +
    + $file + : string + = null
    +
    + +
    +
    + + +
    + Tags + + +
    +
    +
    + see +
    +
    + file_put_contents() + + +
    +
    + see +
    +
    + QROptions::$cachefile + + +
    +
    + throws +
    +
    + QRCodeOutputException + + +
    +
    + + +
    +
    +

    + setMatrixDimensions() + + +

    + + +

    Sets/updates the matrix dimensions

    + + + protected + setMatrixDimensions() : void + +
    +
    +

    Call this method if you modify the matrix from within your custom module in case the dimensions have been changed

    +
    + + + + + +
    +
    +

    + setModuleValues() + + +

    + + +

    Sets the initial module values

    + + + protected + setModuleValues() : void + +
    +
    + + + + + +
    +
    +

    + toBase64DataURI() + + +

    + + +

    Returns a base64 data URI for the given string and mime type

    + + + protected + toBase64DataURI(string $data[, string $mime = null ]) : string + +
    +
    + +
    Parameters
    +
    +
    + $data + : string +
    +
    + +
    +
    + $mime + : string + = null
    +
    + +
    +
    + + + +
    +
    Return values
    + string +
    + +
    +
    + +
    +
    +
    +
    +
    
    +        
    + +
    +
    + + + +
    +
    +
    + +
    + On this page + + +
    + +
    +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/classes/chillerlan-QRCode-Output-QRMarkup.html b/classes/chillerlan-QRCode-Output-QRMarkup.html index 6c908bee7..6e090c637 100644 --- a/classes/chillerlan-QRCode-Output-QRMarkup.html +++ b/classes/chillerlan-QRCode-Output-QRMarkup.html @@ -135,6 +135,9 @@ + + Uses + CssColorModuleValueTrait
      @@ -147,7 +150,7 @@ @@ -289,7 +292,7 @@
      - moduleValueIsValid() + moduleValueIsValid()  : bool
      @@ -327,9 +330,9 @@ in long loops for a significant performance increase.
      returns a string with all css classes for the current element
      - getDefaultModuleValue() + getDefaultModuleValue() -  : string +  : mixed
      Returns a default value for either dark or light modules (return value depends on the output class)
      @@ -355,9 +358,9 @@ in long loops for a significant performance increase.
      Returns a 2 element array with the current output width and height
      - prepareModuleValue() + prepareModuleValue() -  : string +  : mixed
      Prepares the value for the given input (return value depends on the output class)
      @@ -1076,7 +1079,7 @@ in long loops for a significant performance increase. @@ -1129,13 +1132,13 @@ in long loops for a significant performance increase. >

      moduleValueIsValid() - +

      @@ -1163,7 +1166,7 @@ note: css4 colors are not included

      Tags - +
      @@ -1183,6 +1186,15 @@ note: css4 colors are not included

      https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + +
      + implements +
      +
      + +

      \chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

      +
      +
      inheritDoc @@ -1301,7 +1313,7 @@ in long loops for a significant performance increase.

      @@ -1347,7 +1359,7 @@ in long loops for a significant performance increase.

      @@ -1383,17 +1395,17 @@ in long loops for a significant performance increase.

      class="phpdocumentor-element -method -protected - " + -abstract " >

      getDefaultModuleValue() - +

      @@ -1401,7 +1413,7 @@ in long loops for a significant performance increase.

      protected - getDefaultModuleValue(bool $isDark) : string + abstract getDefaultModuleValue(bool $isDark) : mixed
      @@ -1418,26 +1430,8 @@ in long loops for a significant performance increase.

      -
      - Tags - - -
      -
      -
      - inheritDoc -
      -
      - - -
      -
      - -
      -
      Return values
      - string -
      +

      prepareModuleValue() - +

      @@ -1607,7 +1601,7 @@ in long loops for a significant performance increase.

      protected - prepareModuleValue(mixed $value) : string + abstract prepareModuleValue(mixed $value) : mixed
      @@ -1624,26 +1618,8 @@ in long loops for a significant performance increase.

      -
      - Tags - - -
      -
      -
      - inheritDoc -
      -
      - - -
      -
      - -
      -
      Return values
      - string -
      +
    • __construct()
    • dump()
    • -
    • moduleValueIsValid()
    • +
    • moduleValueIsValid()
    • collectModules()
    • copyVars()
    • createMarkup()
    • getCssClass()
    • -
    • getDefaultModuleValue()
    • +
    • getDefaultModuleValue()
    • getModuleValue()
    • getModuleValueAt()
    • getOutputDimensions()
    • -
    • prepareModuleValue()
    • +
    • prepareModuleValue()
    • saveToFile()
    • setMatrixDimensions()
    • setModuleValues()
    • diff --git a/classes/chillerlan-QRCode-Output-QRMarkupHTML.html b/classes/chillerlan-QRCode-Output-QRMarkupHTML.html index 863c5c414..7d09ed142 100644 --- a/classes/chillerlan-QRCode-Output-QRMarkupHTML.html +++ b/classes/chillerlan-QRCode-Output-QRMarkupHTML.html @@ -300,7 +300,7 @@
      - moduleValueIsValid() + moduleValueIsValid()  : bool
      @@ -1122,7 +1122,7 @@ in long loops for a significant performance increase. @@ -1175,13 +1175,13 @@ in long loops for a significant performance increase. >

      moduleValueIsValid() - +

      @@ -1209,7 +1209,7 @@ note: css4 colors are not included

      Tags - +
      @@ -1229,6 +1229,15 @@ note: css4 colors are not included

      https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + +
      + implements +
      +
      + +

      \chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

      +
      +
      inheritDoc @@ -1407,7 +1416,7 @@ in long loops for a significant performance increase.

      @@ -2010,7 +2019,7 @@ in long loops for a significant performance increase.

      -
      note: we're not necessarily validating the several values, just checking the general syntax -note: css4 colors are not included
      collectModules() @@ -1219,7 +1217,7 @@ in long loops for a significant performance increase. @@ -1282,9 +1280,7 @@ in long loops for a significant performance increase. -

      note: we're not necessarily validating the several values, just checking the general syntax -note: css4 colors are not included

      - + public static moduleValueIsValid(mixed $value) : bool diff --git a/classes/chillerlan-QRCode-Output-QRMarkupXML.html b/classes/chillerlan-QRCode-Output-QRMarkupXML.html index a6432a046..7230c9e80 100644 --- a/classes/chillerlan-QRCode-Output-QRMarkupXML.html +++ b/classes/chillerlan-QRCode-Output-QRMarkupXML.html @@ -180,8 +180,8 @@  = 'application/xml'
      -
      - XML_SCHEMA +
      + SCHEMA  = 'https://raw.githubusercontent.com/chillerlan/php-qrcode/main/src/Output/qrcode.schema.xsd'
      @@ -312,7 +312,7 @@
      - moduleValueIsValid() + moduleValueIsValid()  : bool
      @@ -388,7 +388,7 @@ in long loops for a significant performance increase.  : DOMElement|null -
      Creates a DOM element for single module
      +
      Creates a DOM element for a single module
      prepareModuleValue() @@ -472,10 +472,10 @@ in long loops for a significant performance increase.
      -
      -

      - XML_SCHEMA - +
      +

      + SCHEMA +

      @@ -488,9 +488,9 @@ in long loops for a significant performance increase. - protected - mixed - XML_SCHEMA + public + final mixed + SCHEMA = 'https://raw.githubusercontent.com/chillerlan/php-qrcode/main/src/Output/qrcode.schema.xsd' @@ -1215,7 +1215,7 @@ in long loops for a significant performance increase. @@ -1268,13 +1268,13 @@ in long loops for a significant performance increase. >

      moduleValueIsValid() - +

      @@ -1302,7 +1302,7 @@ note: css4 colors are not included

      Tags - +
      @@ -1322,6 +1322,15 @@ note: css4 colors are not included

      https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + +
      + implements +
      +
      + +

      \chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

      +
      +
      inheritDoc @@ -1536,7 +1545,7 @@ in long loops for a significant performance increase.

      @@ -1785,7 +1794,7 @@ in long loops for a significant performance increase.

      -

      Creates a DOM element for single module

      +

      Creates a DOM element for a single module

      protected @@ -2235,7 +2244,7 @@ in long loops for a significant performance increase.

    • @@ -2265,7 +2274,7 @@ in long loops for a significant performance increase.

      + + Uses + CssColorModuleValueTrait
      @@ -180,6 +183,12 @@  = 'application/json' +
      + SCHEMA + +  = 'https://raw.githubusercontent.com/chillerlan/php-qrcode/main/src/Output/qrcode.schema.json' +
      + @@ -300,11 +309,12 @@
      - moduleValueIsValid() + moduleValueIsValid()  : bool
      -
      unused - required by interface
      +
      note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included
      collectModules() @@ -323,11 +333,11 @@ returns an array with the transformed modules in long loops for a significant performance increase.
      - getDefaultModuleValue() + getDefaultModuleValue() -  : string +  : mixed
      -
      unused - required by interface
      +
      Returns a default value for either dark or light modules (return value depends on the output class)
      getModuleValue() @@ -344,18 +354,32 @@ in long loops for a significant performance increase.
      Returns the prepared module value at the given coordinate [$x, $y] (convenience)
      - getOutputDimensions() + getOutputDimensions()  : array<string|int, mixed>
      Returns a 2 element array with the current output width and height
      - prepareModuleValue() + module() -  : string +  : array<string|int, mixed>|null
      -
      unused - required by interface
      +
      Creates an array element for a single module
      + +
      + prepareModuleValue() + +  : mixed +
      +
      Prepares the value for the given input (return value depends on the output class)
      + +
      + row() + +  : array<string|int, mixed>|null +
      +
      Creates an array element for a matrix row
      saveToFile() @@ -407,7 +431,7 @@ in long loops for a significant performance increase. @@ -424,6 +448,34 @@ in long loops for a significant performance increase. + +
      +

      + SCHEMA + + +

      + + + + + + public + final mixed + SCHEMA + = 'https://raw.githubusercontent.com/chillerlan/php-qrcode/main/src/Output/qrcode.schema.json' + + + + + + +
      @@ -1107,7 +1159,7 @@ in long loops for a significant performance increase. @@ -1168,17 +1220,18 @@ in long loops for a significant performance increase. >

      moduleValueIsValid() - +

      -

      unused - required by interface

      +

      note: we're not necessarily validating the several values, just checking the general syntax +note: css4 colors are not included

      public @@ -1201,19 +1254,38 @@ in long loops for a significant performance increase.
      Tags - +
      - inheritDoc + todo:
      +

      XSS proof

      +
      + +
      +
      + see +
      +
      + https://developer.mozilla.org/en-US/docs/Web/CSS/color_value +
      - codeCoverageIgnore + implements +
      +
      + +

      \chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

      +
      + +
      +
      + inheritDoc
      @@ -1319,25 +1391,25 @@ in long loops for a significant performance increase.

      class="phpdocumentor-element -method -protected - " + -abstract " >

      getDefaultModuleValue() - +

      -

      unused - required by interface

      +

      Returns a default value for either dark or light modules (return value depends on the output class)

      protected - getDefaultModuleValue(bool $isDark) : string + abstract getDefaultModuleValue(bool $isDark) : mixed
      @@ -1354,33 +1426,8 @@ in long loops for a significant performance increase.

      -
      - Tags - - -
      -
      -
      - inheritDoc -
      -
      - - -
      -
      - codeCoverageIgnore -
      -
      - - -
      -
      - -
      -
      Return values
      - string -
      +
      getOutputDimensions() - + @@ -1516,11 +1563,23 @@ in long loops for a significant performance increase.

      -

      The type and units of the values depend on the output class. The default value is the current module count * scale.

      -
      + + + +
      + Tags + - - +
      +
      +
      + inheritDoc +
      +
      + + +
      +
      Return values
      @@ -1534,23 +1593,83 @@ in long loops for a significant performance increase.

      -protected " > -

      - prepareModuleValue() - +

      + module() +

      -

      unused - required by interface

      +

      Creates an array element for a single module

      protected - prepareModuleValue(mixed $value) : string + module(int $x, int $y, int $M_TYPE) : array<string|int, mixed>|null
      + +
      +
      + +
      Parameters
      +
      +
      + $x + : int +
      +
      + +
      +
      + $y + : int +
      +
      + +
      +
      + $M_TYPE + : int +
      +
      + +
      +
      + + + +
      +
      Return values
      + array<string|int, mixed>|null +
      + +
      +
      +

      + prepareModuleValue() + + +

      + + +

      Prepares the value for the given input (return value depends on the output class)

      + + + protected + abstract prepareModuleValue(mixed $value) : mixed
      @@ -1567,31 +1686,59 @@ in long loops for a significant performance increase.

      -
      - Tags - -
      -
      -
      - inheritDoc -
      -
      - - -
      -
      - codeCoverageIgnore -
      -
      - - -
      -
      + +
      +
      +

      + row() + + +

      + + +

      Creates an array element for a matrix row

      + + + protected + row(int $y, array<string|int, mixed> $row) : array<string|int, mixed>|null + +
      +
      + +
      Parameters
      +
      +
      + $y + : int +
      +
      + +
      +
      + $row + : array<string|int, mixed> +
      +
      + +
      +
      + +
      Return values
      - string + array<string|int, mixed>|null
      @@ -1908,6 +2055,7 @@ in long loops for a significant performance increase.

    • @@ -1936,14 +2084,16 @@ in long loops for a significant performance increase.

      Whether to invert the matrix (reflectance reversal)
      -
      - $jsonAsBooleans - -  : bool -
      -
      Whether to return matrix values in JSON as booleans or `$M_TYPE` integers
      -
      $jsonFlags @@ -638,7 +631,7 @@ @@ -695,7 +688,7 @@ @@ -744,7 +737,7 @@ @@ -789,7 +782,7 @@ @@ -849,7 +842,7 @@ takes precedence over the QROptions::$cachefile @@ -885,7 +878,7 @@ takes precedence over the QROptions::$cachefile @@ -955,7 +948,7 @@ which converts the $M_TYPE of all modules to QROptionsTrait.php : - 356 + 357 @@ -989,7 +982,7 @@ which converts the $M_TYPE of all modules to QROptionsTrait.php : - 188 + 189 @@ -1059,7 +1052,7 @@ using imagefilledellipse() and then scaled back @@ -1095,7 +1088,7 @@ using imagefilledellipse() and then scaled back @@ -1165,7 +1158,7 @@ using imagefilledellipse() and then scaled back @@ -1201,7 +1194,7 @@ using imagefilledellipse() and then scaled back @@ -1250,7 +1243,7 @@ using imagefilledellipse() and then scaled back @@ -1299,7 +1292,7 @@ using imagefilledellipse() and then scaled back @@ -1357,7 +1350,7 @@ using imagefilledellipse() and then scaled back @@ -1411,7 +1404,7 @@ using imagefilledellipse() and then scaled back @@ -1468,7 +1461,7 @@ using imagefilledellipse() and then scaled back @@ -1501,40 +1494,6 @@ using imagefilledellipse() and then scaled back - -
      -

      - $jsonAsBooleans - - - - -

      - - -

      Whether to return matrix values in JSON as booleans or `$M_TYPE` integers

      - - - protected - bool - $jsonAsBooleans - = false - - - - -
      imagefilledellipse() and then scaled back @@ -1563,7 +1522,7 @@ using imagefilledellipse() and then scaled back protected int $jsonFlags - = \JSON_THROW_ON_ERROR + = \JSON_THROW_ON_ERROR | \JSON_UNESCAPED_SLASHES @@ -1602,7 +1561,7 @@ using imagefilledellipse() and then scaled back @@ -1638,7 +1597,7 @@ using imagefilledellipse() and then scaled back @@ -1674,7 +1633,7 @@ using imagefilledellipse() and then scaled back @@ -1708,7 +1667,7 @@ using imagefilledellipse() and then scaled back @@ -1742,7 +1701,7 @@ using imagefilledellipse() and then scaled back @@ -1778,7 +1737,7 @@ using imagefilledellipse() and then scaled back @@ -1829,7 +1788,7 @@ using imagefilledellipse() and then scaled back @@ -1887,7 +1846,7 @@ using imagefilledellipse() and then scaled back @@ -1938,7 +1897,7 @@ using imagefilledellipse() and then scaled back @@ -1972,7 +1931,7 @@ using imagefilledellipse() and then scaled back @@ -2072,7 +2031,7 @@ using imagefilledellipse() and then scaled back @@ -2246,7 +2205,7 @@ using imagefilledellipse() and then scaled back @@ -2309,7 +2268,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 278 + 279 @@ -2343,7 +2302,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 367 + 368 @@ -2379,7 +2338,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 374 + 375 @@ -2428,7 +2387,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 381 + 382 @@ -2477,7 +2436,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 391 + 392 @@ -2529,7 +2488,7 @@ When set to false, the module values map will b @@ -2563,7 +2522,7 @@ When set to false, the module values map will b @@ -2630,7 +2589,7 @@ When set to false, the module values map will b @@ -2681,7 +2640,7 @@ When set to false, the module values map will b @@ -2717,7 +2676,7 @@ When set to false, the module values map will b @@ -2753,7 +2712,7 @@ When set to false, the module values map will b @@ -2807,7 +2766,7 @@ When set to false, the module values map will b @@ -2853,7 +2812,7 @@ When set to false, the module values map will b @@ -2895,7 +2854,7 @@ When set to false, the module values map will b @@ -2952,7 +2911,7 @@ When set to false, the module values map will b @@ -3008,7 +2967,7 @@ When set to false, the module values map will b @@ -3050,7 +3009,7 @@ When set to false, the module values map will b @@ -3092,7 +3051,7 @@ When set to false, the module values map will b @@ -3134,7 +3093,7 @@ When set to false, the module values map will b @@ -3176,7 +3135,7 @@ When set to false, the module values map will b @@ -3260,7 +3219,7 @@ When set to false, the module values map will b @@ -3302,7 +3261,7 @@ When set to false, the module values map will b @@ -3344,7 +3303,7 @@ When set to false, the module values map will b @@ -3386,7 +3345,7 @@ When set to false, the module values map will b @@ -3551,7 +3510,6 @@ When set to false, the module values map will b
    • $imageTransparent
    • $imagickFormat
    • $invertMatrix
    • -
    • $jsonAsBooleans
    • $jsonFlags
    • $keepAsSquare
    • $logoSpaceHeight
    • diff --git a/classes/chillerlan-QRCode-QROptionsTrait.html b/classes/chillerlan-QRCode-QROptionsTrait.html index bcc6209b7..0aa707a32 100644 --- a/classes/chillerlan-QRCode-QROptionsTrait.html +++ b/classes/chillerlan-QRCode-QROptionsTrait.html @@ -126,7 +126,7 @@ @@ -277,13 +277,6 @@
      Whether to invert the matrix (reflectance reversal)
      -
      - $jsonAsBooleans - -  : bool -
      -
      Whether to return matrix values in JSON as booleans or `$M_TYPE` integers
      -
      $jsonFlags @@ -582,7 +575,7 @@ @@ -639,7 +632,7 @@ @@ -688,7 +681,7 @@ @@ -733,7 +726,7 @@ @@ -793,7 +786,7 @@ takes precedence over the QROptions::$cachefile @@ -829,7 +822,7 @@ takes precedence over the QROptions::$cachefile @@ -899,7 +892,7 @@ which converts the $M_TYPE of all modules to QROptionsTrait.php : - 356 + 357 @@ -933,7 +926,7 @@ which converts the $M_TYPE of all modules to QROptionsTrait.php : - 188 + 189 @@ -1003,7 +996,7 @@ using imagefilledellipse() and then scaled back @@ -1039,7 +1032,7 @@ using imagefilledellipse() and then scaled back @@ -1109,7 +1102,7 @@ using imagefilledellipse() and then scaled back @@ -1145,7 +1138,7 @@ using imagefilledellipse() and then scaled back @@ -1194,7 +1187,7 @@ using imagefilledellipse() and then scaled back @@ -1243,7 +1236,7 @@ using imagefilledellipse() and then scaled back @@ -1301,7 +1294,7 @@ using imagefilledellipse() and then scaled back @@ -1355,7 +1348,7 @@ using imagefilledellipse() and then scaled back @@ -1412,7 +1405,7 @@ using imagefilledellipse() and then scaled back @@ -1445,40 +1438,6 @@ using imagefilledellipse() and then scaled back - -
      -

      - $jsonAsBooleans - - - - -

      - - -

      Whether to return matrix values in JSON as booleans or `$M_TYPE` integers

      - - - protected - bool - $jsonAsBooleans - = false - - - - -
      imagefilledellipse() and then scaled back @@ -1507,7 +1466,7 @@ using imagefilledellipse() and then scaled back protected int $jsonFlags - = \JSON_THROW_ON_ERROR + = \JSON_THROW_ON_ERROR | \JSON_UNESCAPED_SLASHES @@ -1546,7 +1505,7 @@ using imagefilledellipse() and then scaled back @@ -1582,7 +1541,7 @@ using imagefilledellipse() and then scaled back @@ -1618,7 +1577,7 @@ using imagefilledellipse() and then scaled back @@ -1652,7 +1611,7 @@ using imagefilledellipse() and then scaled back @@ -1686,7 +1645,7 @@ using imagefilledellipse() and then scaled back @@ -1722,7 +1681,7 @@ using imagefilledellipse() and then scaled back @@ -1773,7 +1732,7 @@ using imagefilledellipse() and then scaled back @@ -1831,7 +1790,7 @@ using imagefilledellipse() and then scaled back @@ -1882,7 +1841,7 @@ using imagefilledellipse() and then scaled back @@ -1916,7 +1875,7 @@ using imagefilledellipse() and then scaled back @@ -2016,7 +1975,7 @@ using imagefilledellipse() and then scaled back @@ -2052,7 +2011,7 @@ using imagefilledellipse() and then scaled back @@ -2115,7 +2074,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 278 + 279 @@ -2149,7 +2108,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 367 + 368 @@ -2185,7 +2144,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 374 + 375 @@ -2234,7 +2193,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 381 + 382 @@ -2283,7 +2242,7 @@ and QROptions::$outputBase64. (default: QROptionsTrait.php : - 391 + 392 @@ -2335,7 +2294,7 @@ When set to false, the module values map will b @@ -2369,7 +2328,7 @@ When set to false, the module values map will b @@ -2436,7 +2395,7 @@ When set to false, the module values map will b @@ -2487,7 +2446,7 @@ When set to false, the module values map will b @@ -2523,7 +2482,7 @@ When set to false, the module values map will b @@ -2559,7 +2518,7 @@ When set to false, the module values map will b @@ -2613,7 +2572,7 @@ When set to false, the module values map will b @@ -2659,7 +2618,7 @@ When set to false, the module values map will b @@ -2701,7 +2660,7 @@ When set to false, the module values map will b @@ -2758,7 +2717,7 @@ When set to false, the module values map will b @@ -2814,7 +2773,7 @@ When set to false, the module values map will b @@ -2856,7 +2815,7 @@ When set to false, the module values map will b @@ -2898,7 +2857,7 @@ When set to false, the module values map will b @@ -2940,7 +2899,7 @@ When set to false, the module values map will b @@ -2982,7 +2941,7 @@ When set to false, the module values map will b @@ -3024,7 +2983,7 @@ When set to false, the module values map will b @@ -3066,7 +3025,7 @@ When set to false, the module values map will b @@ -3108,7 +3067,7 @@ When set to false, the module values map will b @@ -3150,7 +3109,7 @@ When set to false, the module values map will b @@ -3314,7 +3273,6 @@ When set to false, the module values map will b
    • $imageTransparent
    • $imagickFormat
    • $invertMatrix
    • -
    • $jsonAsBooleans
    • $jsonFlags
    • $keepAsSquare
    • $logoSpaceHeight
    • diff --git a/classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html b/classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html new file mode 100644 index 000000000..1e5e6dd27 --- /dev/null +++ b/classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html @@ -0,0 +1,392 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
      +

      Documentation

      + + + + + +
      + +
      +
      + + + + +
      +
      + + +
      +

      + CssColorModuleValueProviderTrait +

      + + + +

      A data provider for use in tests that include CssColorModuleValueTrait

      + + + +
      + Tags + + +
      +
      +
      + see +
      +
      + CssColorModuleValueTrait + + +
      +
      + + + +

      + Table of Contents + + +

      + + + + + + + + + + +

      + Methods + + +

      +
      +
      + moduleValueProvider() + +  : array<string|int, mixed> +
      + +
      + + + + + + + + +
      +

      + Methods + + +

      +
      +

      + moduleValueProvider() + + +

      + + + + + public + static moduleValueProvider() : array<string|int, mixed> + +
      +
      + + + +
      + Tags + + +
      +
      +
      + implements +
      +
      + +

      \chillerlan\QRCodeTest\Output\QROutputTestAbstract::moduleValueProvider()

      +
      + +
      +
      + +
      +
      Return values
      + array<string|int, mixed> +
      + +
      +
      + +
      +
      +
      +
      +
      
      +        
      + +
      +
      + + + +
      +
      +
      + +
      + On this page + + +
      + +
      +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html b/classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html new file mode 100644 index 000000000..51a788fee --- /dev/null +++ b/classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html @@ -0,0 +1,1230 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
        +

        Documentation

        + + + + + +
        + +
        +
        + + + + +
        +
        + + +
        +

        + QRInterventionImageTest + + + extends QROutputTestAbstract + + +
        + in package + +
        + + + + Uses + CssColorModuleValueProviderTrait +

        + +
        + + +
        + + + +

        Tests the QRInterventionImage output module

        + + + + + + +

        + Table of Contents + + +

        + + + + + + + +

        + Constants + + +

        +
        +
        + buildDir + +  = 'output-test' +
        + +
        + + +

        + Properties + + +

        +
        +
        + $matrix + +  : QRMatrix +
        + +
        + $options + +  : SettingsContainerInterface|QROptions +
        + +
        + $outputInterface + +  : QROutputInterface +
        + +
        + +

        + Methods + + +

        +
        +
        + moduleValueProvider() + +  : array<string|int, mixed> +
        + +
        + testOutputGetResource() + +  : void +
        + +
        + testRenderToCacheFile() + +  : void +
        +
        coverage of the built-in output modules
        + +
        + testSaveException() + +  : void +
        +
        Tests if an exception is thrown when trying to write a cache file to an invalid destination
        + +
        + testSetModuleValues() + +  : void +
        +
        covers the module values settings
        + +
        + testValidateModuleValues() + +  : void +
        + +
        + createBuildDir() + +  : void +
        +
        attempts to create the build dir
        + +
        + getBuildDir() + +  : string +
        +
        returns the full (real) path to the given build path
        + +
        + getBuildFileContent() + +  : string +
        +
        returns the contents of the given build file
        + +
        + getBuildFilePath() + +  : string +
        +
        returns the full (real) path to the given build file
        + +
        + getBuildPath() + +  : string +
        +
        returns the full raw path to the build dir
        + +
        + getOutputInterface() + +  : QROutputInterface +
        + +
        + setUp() + +  : void +
        +
        Attempts to create a directory under /.build and instances several required objects
        + +
        + + + + + +
        +

        + Constants + + +

        +
        +

        + buildDir + + +

        + + + + + + protected + mixed + buildDir + = 'output-test' + + + + + + + +
        +
        + + +
        +

        + Properties + + +

        + + + +
        + +
        +

        + Methods + + +

        +
        +

        + moduleValueProvider() + + +

        + + + + + public + abstract static moduleValueProvider() : array<string|int, mixed> + +
        +
        + + + + +
        +
        Return values
        + array<string|int, mixed> +
        + +
        +
        +

        + testOutputGetResource() + + +

        + + + + + public + testOutputGetResource() : void + +
        +
        + + + + + +
        +
        +

        + testRenderToCacheFile() + + +

        + + +

        coverage of the built-in output modules

        + + + public + testRenderToCacheFile() : void + +
        +
        + + + + + +
        +
        +

        + testSaveException() + + +

        + + +

        Tests if an exception is thrown when trying to write a cache file to an invalid destination

        + + + public + testSaveException() : void + +
        +
        + + + + + +
        +
        +

        + testSetModuleValues() + + +

        + + +

        covers the module values settings

        + + + public + testSetModuleValues() : void + +
        +
        + + + +
        + Tags + + +
        +
        +
        + inheritDoc +
        +
        + + +
        +
        + + +
        +
        +

        + testValidateModuleValues() + + +

        + + + + + public + testValidateModuleValues(mixed $value, bool $expected) : void + +
        +
        + +
        Parameters
        +
        +
        + $value + : mixed +
        +
        + +
        +
        + $expected + : bool +
        +
        + +
        +
        + + + + +
        +
        +

        + createBuildDir() + + +

        + + +

        attempts to create the build dir

        + + + protected + createBuildDir(string $subPath) : void + +
        +
        + +
        Parameters
        +
        +
        + $subPath + : string +
        +
        + +
        +
        + + +
        + Tags + + +
        +
        +
        + throws +
        +
        + RuntimeException + + +
        +
        + + +
        +
        +

        + getBuildDir() + + +

        + + +

        returns the full (real) path to the given build path

        + + + protected + getBuildDir([string $subPath = '' ]) : string + +
        +
        + +
        Parameters
        +
        +
        + $subPath + : string + = ''
        +
        + +
        +
        + + +
        + Tags + + +
        +
        +
        + throws +
        +
        + RuntimeException + + +
        +
        + +
        +
        Return values
        + string +
        + +
        +
        +

        + getBuildFileContent() + + +

        + + +

        returns the contents of the given build file

        + + + protected + getBuildFileContent(string $fileSubPath) : string + +
        +
        + +
        Parameters
        +
        +
        + $fileSubPath + : string +
        +
        + +
        +
        + + + +
        +
        Return values
        + string +
        + +
        +
        +

        + getBuildFilePath() + + +

        + + +

        returns the full (real) path to the given build file

        + + + protected + getBuildFilePath(string $fileSubPath) : string + +
        +
        + +
        Parameters
        +
        +
        + $fileSubPath + : string +
        +
        + +
        +
        + + +
        + Tags + + +
        +
        +
        + throws +
        +
        + RuntimeException + + +
        +
        + +
        +
        Return values
        + string +
        + +
        +
        +

        + getBuildPath() + + +

        + + +

        returns the full raw path to the build dir

        + + + protected + getBuildPath(string $subPath) : string + +
        +
        + +
        Parameters
        +
        +
        + $subPath + : string +
        +
        + +
        +
        + + + +
        +
        Return values
        + string +
        + +
        + +
        +

        + setUp() + + +

        + + +

        Attempts to create a directory under /.build and instances several required objects

        + + + protected + setUp() : void + +
        +
        + + + +
        + Tags + + +
        +
        +
        + inheritDoc +
        +
        + + +
        +
        + + +
        +
        + +
        +
        +
        +
        +
        
        +        
        + +
        +
        + + + +
        +
        +
        + +
        + On this page + + +
        + +
        +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html index 9db35c884..e10364766 100644 --- a/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html +++ b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html @@ -135,6 +135,9 @@
          + + Uses + CssColorModuleValueProviderTrait
          @@ -218,7 +221,7 @@
          - moduleValueProvider() + moduleValueProvider()  : array<string|int, mixed>
          @@ -458,24 +461,24 @@ class="phpdocumentor-element -method -public - -static " + -abstract -static " >

          moduleValueProvider() - +

          public - static moduleValueProvider() : array<string|int, mixed> + abstract static moduleValueProvider() : array<string|int, mixed>
          @@ -567,7 +570,7 @@ @@ -1131,7 +1134,7 @@
        • Methods
        • + + Uses + CssColorModuleValueProviderTrait
          @@ -147,7 +150,7 @@ @@ -219,7 +222,7 @@ should also be used to test custom output modules

          - moduleValueProvider() + moduleValueProvider()  : array<string|int, mixed>
          @@ -246,7 +249,7 @@ should also be used to test custom output modules

          covers the module values settings
          - testValidateModuleValues() + testValidateModuleValues()  : void
          @@ -293,7 +296,7 @@ should also be used to test custom output modules

          - setUp() + setUp()  : void
          @@ -459,24 +462,24 @@ should also be used to test custom output modules

          class="phpdocumentor-element -method -public - -static " + -abstract -static " >

          moduleValueProvider() - +

          public - static moduleValueProvider() : array<string|int, mixed> + abstract static moduleValueProvider() : array<string|int, mixed>
          @@ -568,7 +571,7 @@ should also be used to test custom output modules

          @@ -583,6 +586,20 @@ should also be used to test custom output modules

          +
          + Tags + + +
          +
          +
          + inheritDoc +
          +
          + + +
          +
          @@ -594,13 +611,13 @@ should also be used to test custom output modules

          >

          testValidateModuleValues() - +

          @@ -919,7 +936,7 @@ should also be used to test custom output modules

          @@ -965,13 +982,13 @@ should also be used to test custom output modules

          >

          setUp() - +

          @@ -986,20 +1003,6 @@ should also be used to test custom output modules

          -
          - Tags - - -
          -
          -
          - inheritDoc -
          -
          - - -
          -
          @@ -1132,18 +1135,18 @@ should also be used to test custom output modules

        • Methods
        • diff --git a/files/src-output-csscolormodulevaluetrait.html b/files/src-output-csscolormodulevaluetrait.html new file mode 100644 index 000000000..d0bf8d30f --- /dev/null +++ b/files/src-output-csscolormodulevaluetrait.html @@ -0,0 +1,338 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
          +

          Documentation

          + + + + + +
          + +
          +
          + + + + +
          +
          +
            +
          + +
          +

          CssColorModuleValueTrait.php

          + +

          CssColorModuleValueTrait.php

          + + + +
          + Tags + + +
          +
          +
          + created +
          +
          + +

          04.05.2024

          +
          + +
          +
          + author +
          +
          + +

          smiley smiley@chillerlan.net

          +
          + +
          +
          + copyright +
          +
          + +

          2024 smiley

          +
          + +
          +
          + license +
          +
          + +

          MIT

          +
          + +
          +
          + + + +

          + Table of Contents + + +

          + + + + + +

          + Traits + + +

          +
          +
          CssColorModuleValueTrait
          Module value checks for output classes that use CSS colors
          + + + + + + + + + + + + +
          +
          +
          +
          +
          
          +        
          + +
          +
          + + + +
          +
          +
          + +
          + On this page + +
            +
          • Table Of Contents
          • +
          • + +
          • + + +
          +
          + +
          +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/files/src-output-qrinterventionimage.html b/files/src-output-qrinterventionimage.html new file mode 100644 index 000000000..912d9de75 --- /dev/null +++ b/files/src-output-qrinterventionimage.html @@ -0,0 +1,338 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
            +

            Documentation

            + + + + + +
            + +
            +
            + + + + +
            +
            +
              +
            + +
            +

            QRInterventionImage.php

            + +

            Class QRInterventionImage

            + + + +
            + Tags + + +
            +
            +
            + created +
            +
            + +

            21.01.2024

            +
            + +
            +
            + author +
            +
            + +

            smiley smiley@chillerlan.net

            +
            + +
            +
            + copyright +
            +
            + +

            2024 smiley

            +
            + +
            +
            + license +
            +
            + +

            MIT

            +
            + +
            +
            + + + +

            + Table of Contents + + +

            + + + + +

            + Classes + + +

            +
            +
            QRInterventionImage
            intervention/image (GD/ImageMagick) output
            + + + + + + + + + + + + + +
            +
            +
            +
            +
            
            +        
            + +
            +
            + + + +
            +
            +
            + +
            + On this page + +
              +
            • Table Of Contents
            • +
            • + +
            • + + +
            +
            + +
            +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/files/tests-output-csscolormodulevalueprovidertrait.html b/files/tests-output-csscolormodulevalueprovidertrait.html new file mode 100644 index 000000000..f5a3ce44c --- /dev/null +++ b/files/tests-output-csscolormodulevalueprovidertrait.html @@ -0,0 +1,338 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
              +

              Documentation

              + + + + + +
              + +
              +
              + + + + +
              +
              +
                +
              + +
              +

              CssColorModuleValueProviderTrait.php

              + +

              CssColorModuleValueProviderTrait.php

              + + + +
              + Tags + + +
              +
              +
              + created +
              +
              + +

              04.05.2024

              +
              + +
              +
              + author +
              +
              + +

              smiley smiley@chillerlan.net

              +
              + +
              +
              + copyright +
              +
              + +

              2024 smiley

              +
              + +
              +
              + license +
              +
              + +

              MIT

              +
              + +
              +
              + + + +

              + Table of Contents + + +

              + + + + + +

              + Traits + + +

              +
              +
              CssColorModuleValueProviderTrait
              A data provider for use in tests that include CssColorModuleValueTrait
              + + + + + + + + + + + + +
              +
              +
              +
              +
              
              +        
              + +
              +
              + + + +
              +
              +
              + +
              + On this page + +
                +
              • Table Of Contents
              • +
              • + +
              • + + +
              +
              + +
              +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/files/tests-output-qrinterventionimagetest.html b/files/tests-output-qrinterventionimagetest.html new file mode 100644 index 000000000..39a9e01e9 --- /dev/null +++ b/files/tests-output-qrinterventionimagetest.html @@ -0,0 +1,338 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                +

                Documentation

                + + + + + +
                + +
                +
                + + + + +
                +
                +
                  +
                + +
                +

                QRInterventionImageTest.php

                + +

                Class QRInterventionImageTest

                + + + +
                + Tags + + +
                +
                +
                + created +
                +
                + +

                04.05.2024

                +
                + +
                +
                + author +
                +
                + +

                smiley smiley@chillerlan.net

                +
                + +
                +
                + copyright +
                +
                + +

                2024 smiley

                +
                + +
                +
                + license +
                +
                + +

                MIT

                +
                + +
                +
                + + + +

                + Table of Contents + + +

                + + + + +

                + Classes + + +

                +
                +
                QRInterventionImageTest
                Tests the QRInterventionImage output module
                + + + + + + + + + + + + + +
                +
                +
                +
                +
                
                +        
                + +
                +
                + + + +
                +
                +
                + +
                + On this page + +
                  +
                • Table Of Contents
                • +
                • + +
                • + + +
                +
                + +
                +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/indices/files.html b/indices/files.html index 5986a675c..bc11bd1c8 100644 --- a/indices/files.html +++ b/indices/files.html @@ -132,7 +132,12 @@
                • Byte.php
                • ByteTest.php
                • -

                  D

                  +

                  C

                  + +

                  D

                  • DataInterfaceTestAbstract.php
                  • Decoder.php
                  • @@ -232,6 +237,8 @@
                  • QRGdImageWEBPTest.php
                  • QRImagick.php
                  • QRImagickTest.php
                  • +
                  • QRInterventionImage.php
                  • +
                  • QRInterventionImageTest.php
                  • QRMarkup.php
                  • QRMarkupHTML.php
                  • QRMarkupHTMLTest.php
                  • diff --git a/js/searchIndex.js b/js/searchIndex.js index bd31bf888..eb74ddf0f 100644 --- a/js/searchIndex.js +++ b/js/searchIndex.js @@ -2395,6 +2395,26 @@ Search.appendIndex( "name": "estimatedModuleSize", "summary": "", "url": "classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\CssColorModuleValueTrait", + "name": "CssColorModuleValueTrait", + "summary": "Module\u0020value\u0020checks\u0020for\u0020output\u0020classes\u0020that\u0020use\u0020CSS\u0020colors", + "url": "classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\CssColorModuleValueTrait\u003A\u003AmoduleValueIsValid\u0028\u0029", + "name": "moduleValueIsValid", + "summary": "note\u003A\u0020we\u0027re\u0020not\u0020necessarily\u0020validating\u0020the\u0020several\u0020values,\u0020just\u0020checking\u0020the\u0020general\u0020syntax\nnote\u003A\u0020css4\u0020colors\u0020are\u0020not\u0020included", + "url": "classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_moduleValueIsValid" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\CssColorModuleValueTrait\u003A\u003AprepareModuleValue\u0028\u0029", + "name": "prepareModuleValue", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_prepareModuleValue" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\CssColorModuleValueTrait\u003A\u003AgetDefaultModuleValue\u0028\u0029", + "name": "getDefaultModuleValue", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_getDefaultModuleValue" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRCodeOutputException", "name": "QRCodeOutputException", @@ -2745,26 +2765,51 @@ Search.appendIndex( "name": "backgroundColor", "summary": "The\u0020allocated\u0020background\u0020color", "url": "classes/chillerlan-QRCode-Output-QRImagick.html#property_backgroundColor" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage", + "name": "QRInterventionImage", + "summary": "intervention\/image\u0020\u0028GD\/ImageMagick\u0029\u0020output", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "QRInterventionImage\u0020constructor.", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#method___construct" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003AsetDriver\u0028\u0029", + "name": "setDriver", + "summary": "Sets\u0020a\u0020DriverInterface", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#method_setDriver" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003Adump\u0028\u0029", + "name": "dump", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#method_dump" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003Amodule\u0028\u0029", + "name": "module", + "summary": "draws\u0020a\u0020single\u0020pixel\u0020at\u0020the\u0020given\u0020position", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#method_module" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003A\u0024driver", + "name": "driver", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#property_driver" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003A\u0024manager", + "name": "manager", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#property_manager" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRInterventionImage\u003A\u003A\u0024image", + "name": "image", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-QRInterventionImage.html#property_image" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkup", "name": "QRMarkup", "summary": "Abstract\u0020for\u0020markup\u0020types\u003A\u0020HTML,\u0020SVG,\u0020...\u0020XML\u0020anyone\u003F", "url": "classes/chillerlan-QRCode-Output-QRMarkup.html" - }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkup\u003A\u003AmoduleValueIsValid\u0028\u0029", - "name": "moduleValueIsValid", - "summary": "note\u003A\u0020we\u0027re\u0020not\u0020necessarily\u0020validating\u0020the\u0020several\u0020values,\u0020just\u0020checking\u0020the\u0020general\u0020syntax\nnote\u003A\u0020css4\u0020colors\u0020are\u0020not\u0020included", - "url": "classes/chillerlan-QRCode-Output-QRMarkup.html#method_moduleValueIsValid" - }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkup\u003A\u003AprepareModuleValue\u0028\u0029", - "name": "prepareModuleValue", - "summary": "Prepares\u0020the\u0020value\u0020for\u0020the\u0020given\u0020input\u0020\u0028return\u0020value\u0020depends\u0020on\u0020the\u0020output\u0020class\u0029", - "url": "classes/chillerlan-QRCode-Output-QRMarkup.html#method_prepareModuleValue" - }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkup\u003A\u003AgetDefaultModuleValue\u0028\u0029", - "name": "getDefaultModuleValue", - "summary": "Returns\u0020a\u0020default\u0020value\u0020for\u0020either\u0020dark\u0020or\u0020light\u0020modules\u0020\u0028return\u0020value\u0020depends\u0020on\u0020the\u0020output\u0020class\u0029", - "url": "classes/chillerlan-QRCode-Output-QRMarkup.html#method_getDefaultModuleValue" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkup\u003A\u003Adump\u0028\u0029", "name": "dump", @@ -2803,7 +2848,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupSVG\u003A\u003AmoduleValueIsValid\u0028\u0029", "name": "moduleValueIsValid", - "summary": "note\u003A\u0020we\u0027re\u0020not\u0020necessarily\u0020validating\u0020the\u0020several\u0020values,\u0020just\u0020checking\u0020the\u0020general\u0020syntax\nnote\u003A\u0020css4\u0020colors\u0020are\u0020not\u0020included", + "summary": "", "url": "classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupSVG\u003A\u003AgetOutputDimensions\u0028\u0029", @@ -2878,7 +2923,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupXML\u003A\u003Amodule\u0028\u0029", "name": "module", - "summary": "Creates\u0020a\u0020DOM\u0020element\u0020for\u0020single\u0020module", + "summary": "Creates\u0020a\u0020DOM\u0020element\u0020for\u0020a\u0020single\u0020module", "url": "classes/chillerlan-QRCode-Output-QRMarkupXML.html#method_module" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupXML\u003A\u003AMIME_TYPE", @@ -2886,10 +2931,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-QRCode-Output-QRMarkupXML.html#constant_MIME_TYPE" }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupXML\u003A\u003AXML_SCHEMA", - "name": "XML_SCHEMA", + "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupXML\u003A\u003ASCHEMA", + "name": "SCHEMA", "summary": "", - "url": "classes/chillerlan-QRCode-Output-QRMarkupXML.html#constant_XML_SCHEMA" + "url": "classes/chillerlan-QRCode-Output-QRMarkupXML.html#constant_SCHEMA" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRMarkupXML\u003A\u003A\u0024dom", "name": "dom", @@ -3070,31 +3115,36 @@ Search.appendIndex( "name": "QRStringJSON", "summary": "common\u0020output\u0020abstract", "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003AgetOutputDimensions\u0028\u0029", + "name": "getOutputDimensions", + "summary": "Returns\u0020a\u00202\u0020element\u0020array\u0020with\u0020the\u0020current\u0020output\u0020width\u0020and\u0020height", + "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_getOutputDimensions" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003Adump\u0028\u0029", "name": "dump", "summary": "", "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_dump" }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003AprepareModuleValue\u0028\u0029", - "name": "prepareModuleValue", - "summary": "unused\u0020\u002D\u0020required\u0020by\u0020interface", - "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_prepareModuleValue" + "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003Arow\u0028\u0029", + "name": "row", + "summary": "Creates\u0020an\u0020array\u0020element\u0020for\u0020a\u0020matrix\u0020row", + "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_row" }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003AgetDefaultModuleValue\u0028\u0029", - "name": "getDefaultModuleValue", - "summary": "unused\u0020\u002D\u0020required\u0020by\u0020interface", - "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_getDefaultModuleValue" - }, { - "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003AmoduleValueIsValid\u0028\u0029", - "name": "moduleValueIsValid", - "summary": "unused\u0020\u002D\u0020required\u0020by\u0020interface", - "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_moduleValueIsValid" + "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003Amodule\u0028\u0029", + "name": "module", + "summary": "Creates\u0020an\u0020array\u0020element\u0020for\u0020a\u0020single\u0020module", + "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#method_module" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003AMIME_TYPE", "name": "MIME_TYPE", "summary": "", "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#constant_MIME_TYPE" + }, { + "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringJSON\u003A\u003ASCHEMA", + "name": "SCHEMA", + "summary": "", + "url": "classes/chillerlan-QRCode-Output-QRStringJSON.html#constant_SCHEMA" }, { "fqsen": "\\chillerlan\\QRCode\\Output\\QRStringText", "name": "QRStringText", @@ -3550,11 +3600,6 @@ Search.appendIndex( "name": "jsonFlags", "summary": "Sets\u0020the\u0020flags\u0020to\u0020use\u0020for\u0020the\u0020\u0060json_encode\u0028\u0029\u0060\u0020call", "url": "classes/chillerlan-QRCode-QROptionsTrait.html#property_jsonFlags" - }, { - "fqsen": "\\chillerlan\\QRCode\\QROptionsTrait\u003A\u003A\u0024jsonAsBooleans", - "name": "jsonAsBooleans", - "summary": "Whether\u0020to\u0020return\u0020matrix\u0020values\u0020in\u0020JSON\u0020as\u0020booleans\u0020or\u0020\u0060\u0024M_TYPE\u0060\u0020integers", - "url": "classes/chillerlan-QRCode-QROptionsTrait.html#property_jsonAsBooleans" }, { "fqsen": "\\chillerlan\\QRCode\\QROptionsTrait\u003A\u003A\u0024fpdfMeasureUnit", "name": "fpdfMeasureUnit", @@ -4280,6 +4325,16 @@ Search.appendIndex( "name": "matrix", "summary": "", "url": "classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\CssColorModuleValueProviderTrait", + "name": "CssColorModuleValueProviderTrait", + "summary": "A\u0020data\u0020provider\u0020for\u0020use\u0020in\u0020tests\u0020that\u0020include\u0020CssColorModuleValueTrait", + "url": "classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\CssColorModuleValueProviderTrait\u003A\u003AmoduleValueProvider\u0028\u0029", + "name": "moduleValueProvider", + "summary": "", + "url": "classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html#method_moduleValueProvider" }, { "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QREpsTest", "name": "QREpsTest", @@ -4450,6 +4505,31 @@ Search.appendIndex( "name": "testOutputGetResource", "summary": "", "url": "classes/chillerlan-QRCodeTest-Output-QRImagickTest.html#method_testOutputGetResource" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRInterventionImageTest", + "name": "QRInterventionImageTest", + "summary": "Tests\u0020the\u0020QRInterventionImage\u0020output\u0020module", + "url": "classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRInterventionImageTest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", + "summary": "Attempts\u0020to\u0020create\u0020a\u0020directory\u0020under\u0020\/.build\u0020and\u0020instances\u0020several\u0020required\u0020objects", + "url": "classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html#method_setUp" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRInterventionImageTest\u003A\u003AgetOutputInterface\u0028\u0029", + "name": "getOutputInterface", + "summary": "", + "url": "classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html#method_getOutputInterface" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRInterventionImageTest\u003A\u003AtestSetModuleValues\u0028\u0029", + "name": "testSetModuleValues", + "summary": "covers\u0020the\u0020module\u0020values\u0020settings", + "url": "classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html#method_testSetModuleValues" + }, { + "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRInterventionImageTest\u003A\u003AtestOutputGetResource\u0028\u0029", + "name": "testOutputGetResource", + "summary": "", + "url": "classes/chillerlan-QRCodeTest-Output-QRInterventionImageTest.html#method_testOutputGetResource" }, { "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRMarkupHTMLTest", "name": "QRMarkupHTMLTest", @@ -4480,11 +4560,6 @@ Search.appendIndex( "name": "QRMarkupTestAbstract", "summary": "Tests\u0020the\u0020QRMarkup\u0020output\u0020module", "url": "classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html" - }, { - "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRMarkupTestAbstract\u003A\u003AmoduleValueProvider\u0028\u0029", - "name": "moduleValueProvider", - "summary": "", - "url": "classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html#method_moduleValueProvider" }, { "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRMarkupTestAbstract\u003A\u003AtestSetModuleValues\u0028\u0029", "name": "testSetModuleValues", @@ -4565,26 +4640,11 @@ Search.appendIndex( "name": "QRStringJSONTest", "summary": "Test\u0020abstract\u0020for\u0020the\u0020several\u0020\u0028built\u002Din\u0029\u0020output\u0020modules,\nshould\u0020also\u0020be\u0020used\u0020to\u0020test\u0020custom\u0020output\u0020modules", "url": "classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html" - }, { - "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRStringJSONTest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "Attempts\u0020to\u0020create\u0020a\u0020directory\u0020under\u0020\/.build\u0020and\u0020instances\u0020several\u0020required\u0020objects", - "url": "classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html#method_setUp" }, { "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRStringJSONTest\u003A\u003AgetOutputInterface\u0028\u0029", "name": "getOutputInterface", "summary": "", "url": "classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html#method_getOutputInterface" - }, { - "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRStringJSONTest\u003A\u003AmoduleValueProvider\u0028\u0029", - "name": "moduleValueProvider", - "summary": "", - "url": "classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html#method_moduleValueProvider" - }, { - "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRStringJSONTest\u003A\u003AtestValidateModuleValues\u0028\u0029", - "name": "testValidateModuleValues", - "summary": "", - "url": "classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html#method_testValidateModuleValues" }, { "fqsen": "\\chillerlan\\QRCodeTest\\Output\\QRStringJSONTest\u003A\u003AtestSetModuleValues\u0028\u0029", "name": "testSetModuleValues", diff --git a/namespaces/chillerlan-qrcode-output.html b/namespaces/chillerlan-qrcode-output.html index 05adc833f..c33fd4e2f 100644 --- a/namespaces/chillerlan-qrcode-output.html +++ b/namespaces/chillerlan-qrcode-output.html @@ -144,8 +144,15 @@
                    -
                    QRCodeOutputException
                    An exception container
                    QREps
                    Encapsulated Postscript (EPS) output
                    QRFpdf
                    QRFpdf output module (requires fpdf)
                    QRGdImage
                    Converts the matrix into GD images, raw or base64 output (requires ext-gd)
                    QRGdImageAVIF
                    GDImage avif output
                    QRGdImageBMP
                    GdImage bmp output
                    QRGdImageGIF
                    GdImage gif output
                    QRGdImageJPEG
                    GdImage jpeg output
                    QRGdImagePNG
                    GdImage png output
                    QRGdImageWEBP
                    GdImage webp output
                    QRImagick
                    ImageMagick output module (requires ext-imagick)
                    QRMarkup
                    Abstract for markup types: HTML, SVG, ... XML anyone?
                    QRMarkupHTML
                    HTML output (a cheap markup substitute when SVG is not available or not an option)
                    QRMarkupSVG
                    SVG output
                    QRMarkupXML
                    XML/XSLT output
                    QROutputAbstract
                    common output abstract
                    QRStringJSON
                    common output abstract
                    QRStringText
                    common output abstract
                    +
                    QRCodeOutputException
                    An exception container
                    QREps
                    Encapsulated Postscript (EPS) output
                    QRFpdf
                    QRFpdf output module (requires fpdf)
                    QRGdImage
                    Converts the matrix into GD images, raw or base64 output (requires ext-gd)
                    QRGdImageAVIF
                    GDImage avif output
                    QRGdImageBMP
                    GdImage bmp output
                    QRGdImageGIF
                    GdImage gif output
                    QRGdImageJPEG
                    GdImage jpeg output
                    QRGdImagePNG
                    GdImage png output
                    QRGdImageWEBP
                    GdImage webp output
                    QRImagick
                    ImageMagick output module (requires ext-imagick)
                    QRInterventionImage
                    intervention/image (GD/ImageMagick) output
                    QRMarkup
                    Abstract for markup types: HTML, SVG, ... XML anyone?
                    QRMarkupHTML
                    HTML output (a cheap markup substitute when SVG is not available or not an option)
                    QRMarkupSVG
                    SVG output
                    QRMarkupXML
                    XML/XSLT output
                    QROutputAbstract
                    common output abstract
                    QRStringJSON
                    common output abstract
                    QRStringText
                    common output abstract
                  +

                  + Traits + + +

                  +
                  +
                  CssColorModuleValueTrait
                  Module value checks for output classes that use CSS colors
                  @@ -261,7 +268,8 @@ +
                • Traits
                • + diff --git a/namespaces/chillerlan-qrcodetest-output.html b/namespaces/chillerlan-qrcodetest-output.html index 3515a0d1c..7f7c8bc80 100644 --- a/namespaces/chillerlan-qrcodetest-output.html +++ b/namespaces/chillerlan-qrcodetest-output.html @@ -138,11 +138,18 @@
                  QREpsTest
                  Test abstract for the several (built-in) output modules, -should also be used to test custom output modules
                  QRFpdfTest
                  Tests the QRFpdf output module
                  QRGdImageBMPTest
                  Tests the QRGdImage output module
                  QRGdImageGIFTest
                  Tests the QRGdImage output module
                  QRGdImageJPGTest
                  Tests the QRGdImage output module
                  QRGdImagePNGTest
                  Tests the QRGdImage output module
                  QRGdImageTestAbstract
                  Tests the QRGdImage output module
                  QRGdImageWEBPTest
                  Tests the QRGdImage output module
                  QRImagickTest
                  Tests the QRImagick output module
                  QRMarkupHTMLTest
                  Tests the QRMarkup output module
                  QRMarkupSVGTest
                  Tests the QRMarkup output module
                  QRMarkupTestAbstract
                  Tests the QRMarkup output module
                  QRMarkupXMLTest
                  Tests the QRMarkup output module
                  QROutputTestAbstract
                  Test abstract for the several (built-in) output modules, +should also be used to test custom output modules
                  QRFpdfTest
                  Tests the QRFpdf output module
                  QRGdImageBMPTest
                  Tests the QRGdImage output module
                  QRGdImageGIFTest
                  Tests the QRGdImage output module
                  QRGdImageJPGTest
                  Tests the QRGdImage output module
                  QRGdImagePNGTest
                  Tests the QRGdImage output module
                  QRGdImageTestAbstract
                  Tests the QRGdImage output module
                  QRGdImageWEBPTest
                  Tests the QRGdImage output module
                  QRImagickTest
                  Tests the QRImagick output module
                  QRInterventionImageTest
                  Tests the QRInterventionImage output module
                  QRMarkupHTMLTest
                  Tests the QRMarkup output module
                  QRMarkupSVGTest
                  Tests the QRMarkup output module
                  QRMarkupTestAbstract
                  Tests the QRMarkup output module
                  QRMarkupXMLTest
                  Tests the QRMarkup output module
                  QROutputTestAbstract
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  QRStringJSONTest
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  QRStringTextTest
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  +

                  + Traits + + +

                  +
                  +
                  CssColorModuleValueProviderTrait
                  A data provider for use in tests that include CssColorModuleValueTrait
                  @@ -257,7 +264,8 @@ should also be used to test custom output modules
                • +
                • Traits
                • + diff --git a/packages/Application.html b/packages/Application.html index 97d2f6b53..7d080dde5 100644 --- a/packages/Application.html +++ b/packages/Application.html @@ -168,8 +168,8 @@ Imaging library, but which may not be available in other environments such as J2 versa.
                  PerspectiveTransform
                  This class implements a perspective transform in two dimensions. Given four source and four destination points, it will compute the transformation implied between them. The code is based directly upon section 3.4.2 of George Wolberg's "Digital Image Warping"; see pages 54-56.
                  QRCodeDetectorException
                  An exception container
                  ResultPoint
                  Encapsulates a point of interest in an image containing a barcode. Typically, this -would be the location of a finder pattern or the corner of the barcode, for example.
                  QRCodeOutputException
                  An exception container
                  QREps
                  Encapsulated Postscript (EPS) output
                  QRFpdf
                  QRFpdf output module (requires fpdf)
                  QRGdImage
                  Converts the matrix into GD images, raw or base64 output (requires ext-gd)
                  QRGdImageAVIF
                  GDImage avif output
                  QRGdImageBMP
                  GdImage bmp output
                  QRGdImageGIF
                  GdImage gif output
                  QRGdImageJPEG
                  GdImage jpeg output
                  QRGdImagePNG
                  GdImage png output
                  QRGdImageWEBP
                  GdImage webp output
                  QRImagick
                  ImageMagick output module (requires ext-imagick)
                  QRMarkup
                  Abstract for markup types: HTML, SVG, ... XML anyone?
                  QRMarkupHTML
                  HTML output (a cheap markup substitute when SVG is not available or not an option)
                  QRMarkupSVG
                  SVG output
                  QRMarkupXML
                  XML/XSLT output
                  QROutputAbstract
                  common output abstract
                  QRStringJSON
                  common output abstract
                  QRStringText
                  common output abstract
                  QRCode
                  Turns a text string into a Model 2 QR Code
                  QRCodeException
                  An exception container
                  QROptions
                  The QRCode settings container
                  BitBufferTest
                  BitBuffer coverage test
                  EccLevelTest
                  EccLevel coverage test
                  ECICharsetTest
                  MaskPatternTest
                  ModeTest
                  Mode coverage test
                  VersionTest
                  Version coverage test
                  AlphaNumTest
                  Tests the AlphaNum class
                  ByteTest
                  Tests the Byte class
                  DataInterfaceTestAbstract
                  The data interface test abstract
                  ECITest
                  Tests the ECI class
                  HanziTest
                  Tests the Hanzi/GB2312 class
                  KanjiTest
                  Tests the Kanji class
                  NumberTest
                  Tests the Number class
                  QRDataTest
                  QRMatrixTest
                  Tests the QRMatrix class
                  QREpsTest
                  Test abstract for the several (built-in) output modules, -should also be used to test custom output modules
                  QRFpdfTest
                  Tests the QRFpdf output module
                  QRGdImageAVIFTest
                  Tests the QRGdImage output module
                  QRGdImageBMPTest
                  Tests the QRGdImage output module
                  QRGdImageGIFTest
                  Tests the QRGdImage output module
                  QRGdImageJPGTest
                  Tests the QRGdImage output module
                  QRGdImagePNGTest
                  Tests the QRGdImage output module
                  QRGdImageTestAbstract
                  Tests the QRGdImage output module
                  QRGdImageWEBPTest
                  Tests the QRGdImage output module
                  QRImagickTest
                  Tests the QRImagick output module
                  QRMarkupHTMLTest
                  Tests the QRMarkup output module
                  QRMarkupSVGTest
                  Tests the QRMarkup output module
                  QRMarkupTestAbstract
                  Tests the QRMarkup output module
                  QRMarkupXMLTest
                  Tests the QRMarkup output module
                  QROutputTestAbstract
                  Test abstract for the several (built-in) output modules, +would be the location of a finder pattern or the corner of the barcode, for example.
                  QRCodeOutputException
                  An exception container
                  QREps
                  Encapsulated Postscript (EPS) output
                  QRFpdf
                  QRFpdf output module (requires fpdf)
                  QRGdImage
                  Converts the matrix into GD images, raw or base64 output (requires ext-gd)
                  QRGdImageAVIF
                  GDImage avif output
                  QRGdImageBMP
                  GdImage bmp output
                  QRGdImageGIF
                  GdImage gif output
                  QRGdImageJPEG
                  GdImage jpeg output
                  QRGdImagePNG
                  GdImage png output
                  QRGdImageWEBP
                  GdImage webp output
                  QRImagick
                  ImageMagick output module (requires ext-imagick)
                  QRInterventionImage
                  intervention/image (GD/ImageMagick) output
                  QRMarkup
                  Abstract for markup types: HTML, SVG, ... XML anyone?
                  QRMarkupHTML
                  HTML output (a cheap markup substitute when SVG is not available or not an option)
                  QRMarkupSVG
                  SVG output
                  QRMarkupXML
                  XML/XSLT output
                  QROutputAbstract
                  common output abstract
                  QRStringJSON
                  common output abstract
                  QRStringText
                  common output abstract
                  QRCode
                  Turns a text string into a Model 2 QR Code
                  QRCodeException
                  An exception container
                  QROptions
                  The QRCode settings container
                  BitBufferTest
                  BitBuffer coverage test
                  EccLevelTest
                  EccLevel coverage test
                  ECICharsetTest
                  MaskPatternTest
                  ModeTest
                  Mode coverage test
                  VersionTest
                  Version coverage test
                  AlphaNumTest
                  Tests the AlphaNum class
                  ByteTest
                  Tests the Byte class
                  DataInterfaceTestAbstract
                  The data interface test abstract
                  ECITest
                  Tests the ECI class
                  HanziTest
                  Tests the Hanzi/GB2312 class
                  KanjiTest
                  Tests the Kanji class
                  NumberTest
                  Tests the Number class
                  QRDataTest
                  QRMatrixTest
                  Tests the QRMatrix class
                  QREpsTest
                  Test abstract for the several (built-in) output modules, +should also be used to test custom output modules
                  QRFpdfTest
                  Tests the QRFpdf output module
                  QRGdImageAVIFTest
                  Tests the QRGdImage output module
                  QRGdImageBMPTest
                  Tests the QRGdImage output module
                  QRGdImageGIFTest
                  Tests the QRGdImage output module
                  QRGdImageJPGTest
                  Tests the QRGdImage output module
                  QRGdImagePNGTest
                  Tests the QRGdImage output module
                  QRGdImageTestAbstract
                  Tests the QRGdImage output module
                  QRGdImageWEBPTest
                  Tests the QRGdImage output module
                  QRImagickTest
                  Tests the QRImagick output module
                  QRInterventionImageTest
                  Tests the QRInterventionImage output module
                  QRMarkupHTMLTest
                  Tests the QRMarkup output module
                  QRMarkupSVGTest
                  Tests the QRMarkup output module
                  QRMarkupTestAbstract
                  Tests the QRMarkup output module
                  QRMarkupXMLTest
                  Tests the QRMarkup output module
                  QROutputTestAbstract
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  QRStringJSONTest
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  QRStringTextTest
                  Test abstract for the several (built-in) output modules, should also be used to test custom output modules
                  QRCodeReaderGDTest
                  Tests the GD based reader
                  QRCodeReaderImagickTest
                  Tests the Imagick based reader
                  QRCodeReaderTestAbstract
                  Tests the QR Code reader
                  QRCodeTest
                  Tests basic functions of the QRCode class
                  QROptionsTest
                  QROptions test
                  @@ -180,7 +180,7 @@ should also be used to test custom output modules
                  -
                  QRCodeReaderOptionsTrait
                  Trait QRCodeReaderOptionsTrait
                  QROptionsTrait
                  The QRCode plug-in settings & setter functionality
                  BuildDirTrait
                  Trait BuildDirTrait
                  QRMatrixDebugTrait
                  Trait QRMatrixDebugTrait
                  QRMaxLengthTrait
                  Trait QRMaxLengthTrait
                  +
                  CssColorModuleValueTrait
                  Module value checks for output classes that use CSS colors
                  QRCodeReaderOptionsTrait
                  Trait QRCodeReaderOptionsTrait
                  QROptionsTrait
                  The QRCode plug-in settings & setter functionality
                  BuildDirTrait
                  Trait BuildDirTrait
                  CssColorModuleValueProviderTrait
                  A data provider for use in tests that include CssColorModuleValueTrait
                  QRMatrixDebugTrait
                  Trait QRMatrixDebugTrait
                  QRMaxLengthTrait
                  Trait QRMaxLengthTrait