XOOPS  2.6.0
qrrender.php File Reference

Go to the source code of this file.

Functions

 normalizeColor ($color)
 

Variables

 $configs = $xoops->getModuleConfigs('qrcode')
 
 $ecChar = $configs['qrcode_ecl']
 
 $expires = 60*60*24*15
 
catch(\Exception $e) $mimetype = \Xoops\Core\MimeTypes::findType('png')
 
 $qrCode = new Endroid\QrCode\QrCode($text)
 
 $text = Request::getString('text', 'error')
 
 $xoops = Xoops::getinstance()
 
 exit
 
 try
 

Function Documentation

normalizeColor (   $color)

normalizeColor

Parameters
string$color24 bit RGB color as hex digit (i.e. 'FFFFFF')
Returns
array of ints, RGB color values keyed as 'red', 'green' and 'blue'

Definition at line 81 of file qrrender.php.

Variable Documentation

$configs = $xoops->getModuleConfigs('qrcode')

Definition at line 29 of file qrrender.php.

$ecChar = $configs['qrcode_ecl']

Definition at line 33 of file qrrender.php.

$expires = 60*60*24*15

Definition at line 66 of file qrrender.php.

catch (\Exception $e) $mimetype = \Xoops\Core\MimeTypes::findType('png')

Definition at line 65 of file qrrender.php.

$qrCode = new Endroid\QrCode\QrCode($text)

Definition at line 31 of file qrrender.php.

$xoops = Xoops::getinstance()
Author
Richard Griffith richa.nosp@m.rd@g.nosp@m.eekwr.nosp@m.ight.nosp@m..com

Definition at line 24 of file qrrender.php.

exit

Definition at line 71 of file qrrender.php.

try
Initial value:
{
$qrData = $qrCode->get('png')
$qrCode
Definition: qrrender.php:31

Definition at line 58 of file qrrender.php.