XOOPS  2.6.0
Xoops\Core\Service\Contract\QrcodeInterface Interface Reference
Inheritance diagram for Xoops\Core\Service\Contract\QrcodeInterface:
Inheritance graph

Public Member Functions

 getImgTag (Response $response, $qrText, $attributes=array())
 
 getImgUrl (Response $response, $qrText)
 

Public Attributes

const MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE
 

Detailed Description

Definition at line 28 of file QrcodeInterface.php.

Member Function Documentation

Xoops\Core\Service\Contract\QrcodeInterface::getImgTag ( Response  $response,
  $qrText,
  $attributes = array() 
)

getImgTag - get a full HTML img tag to display a QR Code image of supplied text

Parameters
Response$responseobject
string$qrTexttext to encode in QR Code
array$attributesarray of attribute name => value pairs for img tag
Returns
void - response->value set to URL string

Implemented in QrcodeProvider.

Xoops\Core\Service\Contract\QrcodeInterface::getImgUrl ( Response  $response,
  $qrText 
)

getImgUrl - get URL to QR Code image of supplied text

Parameters
Response$responseobject
string$qrTexttext to encode in QR Code
Returns
void - response->value set to URL string

Implemented in QrcodeProvider.

Member Data Documentation

const Xoops\Core\Service\Contract\QrcodeInterface::MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE

Definition at line 30 of file QrcodeInterface.php.


The documentation for this interface was generated from the following file: