incrementing version number, updating docs

This commit is contained in:
El RIDO
2015-09-19 17:23:10 +02:00
parent a41d0ca4dd
commit 608605cd54
25 changed files with 271 additions and 124 deletions

View File

@@ -1162,7 +1162,16 @@ class RainTpl_SyntaxException extends RainTpl_Exception{
}
}
// shorthand translate function for use in templates
/**
* shorthand translate function for use in templates
*
* alias for i18n::translate()
*
* @access public
* @param string $messageId
* @param mixed $args one or multiple parameters injected into placeholders
* @return string
*/
function t() {
return call_user_func_array(array('i18n', 'translate'), func_get_args());
}