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 CountryflagInterface

CountryFlag service interface

Direct known implementers

CountryFlagProvider
Namespace: Xoops\Core\Service\Contract
Package: Xoops\Core
Category: Xoops\Core\Service\Contract\CountryflagInterface
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
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Service/Contract/CountryflagInterface.php
Methods summary
public
# getImgTag( Xoops\Core\Service\Response $response, string $countryCode, array $attributes = array() )

getImgTag - get a full HTML tag or string to display a flag based on county code

getImgTag - get a full HTML tag or string to display a flag based on county code

Parameters

$response
\Xoops\Core\Service\Response object
$countryCode
ISO 3166-1 alpha-2 code to select flag
$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