GenerateSQLCommand
class GenerateSQLCommand extends ContainerAwareCommand
Class GenerateSQLCommand
Methods
string
translate($params, $smarty)
Smarty function that replace the classic intl
function.
Details
in
ContainerAwareCommand at line 61
setContainer(
ContainerInterface $container = null)
in
ContainerAwareCommand at line 69
EventDispatcher
getDispatcher()
at line 188
string
translate($params, $smarty)
Smarty function that replace the classic intl
function.
The attributes of the function are:
- l
: the key
- locale
: the locale. eg.: fr_FR
- in_string
: set to 1 not add simple quote around the string. (default = 0)
- use_default
: set to 1 to use the l
string as a fallback. (default = 0)