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

Classes

  • Debug
  • FilterInput
  • Highlighter
  • Language
  • Loader
  • Metagen
  • Request
  • Utilities
  • Yaml
  • Overview
  • Namespace
  • Class
  • Tree

Class Language

Language

TODO fix

Namespace: Xmf
Package: Xmf
Category: Xmf\Module\Language
Copyright: 2011-2013 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Version: Release: 1.0
Since: 1.0
Link: http://xoops.org
Located at oops_lib/Xmf/Language.php
Methods summary
public static string
# translate( string $string, string $domain = null )

Attempt a translation of a simple string

Attempt a translation of a simple string

Parameters

$string
string to translate
$domain
language domain

Returns

string
translated string
public static boolean
# load( string $name, string $domain = '', string $language = null )

load - load a language file

load - load a language file

Parameters

$name
name of the language file
$domain
domain or module supplying language file
$language
language folder name

Returns

boolean
true if loaded, otherwise false
API documentation generated by ApiGen