Habari\Locale::_e PHP Method

_e() public static method

Echo a version of the string translated into the current locale
public static _e ( )
    public static function _e()
    {
        $args = func_get_args();
        echo call_user_func_array(Method::create('\\Habari\\Locale', '_t'), $args);
    }

Usage Example

Example #1
0
/**
 * Echo a version of the string translated into the current locale, alias for HabariLocale::_e()
 *
 * @param string $text The text to translate
 * @param array $args
 * @param string $domain
 * @return void
 */
function _e($text, $args = array(), $domain = 'habari')
{
    Locale::_e($text, $args, $domain);
}