QRicketProvider
extends BaseHTTPQRCodeProvider
in package
Table of Contents
- $bgcolor : string
- $color : string
- $errorcorrectionlevel : string
- $format : string
- $verifyssl : bool
- __construct() : mixed
- getMimeType() : mixed
- {@inheritdoc}
- getQRCodeImage() : mixed
- {@inheritdoc}
- getUrl() : string
- getContent() : string|bool
Properties
$bgcolor
public
string
$bgcolor
$color
public
string
$color
$errorcorrectionlevel
public
string
$errorcorrectionlevel
$format
public
string
$format
$verifyssl
protected
bool
$verifyssl
Methods
__construct()
public
__construct([string $errorcorrectionlevel = 'L' ][, string $bgcolor = 'ffffff' ][, string $color = '000000' ][, string $format = 'p' ]) : mixed
Parameters
- $errorcorrectionlevel : string = 'L'
- $bgcolor : string = 'ffffff'
- $color : string = '000000'
- $format : string = 'p'
Return values
mixed —getMimeType()
{@inheritdoc}
public
getMimeType() : mixed
Return values
mixed —getQRCodeImage()
{@inheritdoc}
public
getQRCodeImage(mixed $qrtext, mixed $size) : mixed
Parameters
- $qrtext : mixed
- $size : mixed
Return values
mixed —getUrl()
public
getUrl(string $qrtext, int|string $size) : string
Parameters
- $qrtext : string
-
the value to encode in the QR code
- $size : int|string
-
the desired size of the QR code
Return values
string —file contents of the QR code
getContent()
protected
getContent(string $url) : string|bool
Parameters
- $url : string