TWFAQRCodeRenderer
in package
implements
IQRCodeProvider
Interfaces, Classes, Traits and Enums
Table of Contents
- getMimeType() : string
- Returns the appropriate mime type for the QR code that will be generated
- getQRCodeImage() : string
- Generate and return the QR code to embed in a web page
Methods
getMimeType()
Returns the appropriate mime type for the QR code that will be generated
public
getMimeType() : string
Return values
string —getQRCodeImage()
Generate and return the QR code to embed in a web page
public
getQRCodeImage(mixed $qrtext[, mixed $size = 200 ], mixed $margin) : string
Parameters
- $qrtext : mixed
-
the value to encode in the QR code
- $size : mixed = 200
-
the desired size of the QR code
- $margin : mixed
Return values
string —file contents of the QR code