API-QROutputInterface.md 2.1 KB

QROutputInterface

The full phpDocumentor API documentation can be found at chillerlan.github.io/php-qrcode.

Methods

method return description
(static) moduleValueIsValid($value) bool Determines whether the given value is valid
dump(string $file = null) mixed Generates the output, optionally dumps it to a file, and returns it

Constants

name description
MARKUP_HTML
MARKUP_SVG
GDIMAGE_PNG
GDIMAGE_JPG
GDIMAGE_GIF
STRING_JSON
STRING_TEXT
IMAGICK
FPDF
EPS
CUSTOM
MODES Map of built-in output modes => class FQN
DEFAULT_MODULE_VALUES Map of module type => default value
LAYERNAMES Map of module type => readable name (for CSS etc.)