Flikore Validator
  • Api
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Flikore
    • Validator
      • Exception
      • Interfaces
      • Intl
      • Validators

Classes

  • GetText

Class GetText

Wrapper for gettext functions to avoid problems with missing extension.

Final
Namespace: Flikore\Validator\Intl
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.5.0
Located at Flikore/Validator/Intl/GetText.php

Methods summary

public static string
# _( string $string )

Gets the string from the translation tables of the current domain.

Gets the string from the translation tables of the current domain.

Parameters

$string
string
$string The string to get.

Returns

string
The translated string, if there's such message.
public static string
# _d( string $domain, string $string )

Gets the string from the translation tables of a specific domain.

Gets the string from the translation tables of a specific domain.

Parameters

$domain
string
$domain The translation domain.
$string
string
$string The string to get.

Returns

string
The translated string, if there's such message.

Magic methods summary

Flikore Validator API documentation generated by ApiGen 2.8.0