Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Interfaces

  • AvatarInterface
  • CountryflagInterface
  • EmojiInterface
  • HtmlToPdfInterface
  • QrcodeInterface
  • ThumbnailInterface
  • UserRankInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface QrcodeInterface

Qrcode service interface

Direct known implementers

QrcodeProvider
Namespace: Xoops\Core\Service\Contract
Package: Xoops\Core
Category: Xoops\Core\Service\Contract\QrcodeInterface
Copyright: 2014 The XOOPS Project https://github.com/XOOPS/XoopsCore
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Version: Release: 1.0
Since: 2.6.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Service/Contract/QrcodeInterface.php
Methods summary
public
# getImgUrl( Xoops\Core\Service\Response $response, string $qrText )

getImgUrl - get URL to QR Code image of supplied text

getImgUrl - get URL to QR Code image of supplied text

Parameters

$response
\Xoops\Core\Service\Response object
$qrText
text to encode in QR Code

Returns


  • response->value set to URL string
public
# getImgTag( Xoops\Core\Service\Response $response, string $qrText, array $attributes = array() )

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

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

Parameters

$response
\Xoops\Core\Service\Response object
$qrText
text to encode in QR Code
$attributes
array of attribute name => value pairs for img tag

Returns


  • response->value set to URL string
Constants summary
integer MODE
# Xoops\Core\Service\Manager::MODE_EXCLUSIVE
API documentation generated by ApiGen