Documentation

GoogleChartsQrCodeProvider extends BaseHTTPQRCodeProvider
in package

Table of Contents

$encoding  : string
$errorcorrectionlevel  : string
$margin  : int
$verifyssl  : bool
__construct()  : mixed
getMimeType()  : mixed
{@inheritdoc}
getQRCodeImage()  : mixed
{@inheritdoc}
getUrl()  : string
getContent()  : string|bool

Properties

Methods

__construct()

public __construct([bool $verifyssl = false ][, string $errorcorrectionlevel = 'L' ][, int $margin = 4 ][, string $encoding = 'UTF-8' ]) : mixed
Parameters
$verifyssl : bool = false
$errorcorrectionlevel : string = 'L'
$margin : int = 4
$encoding : string = 'UTF-8'
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
Return values
string|bool

Search results