ResourceBundle::createresourcebundle_createResourceBundle::__constructCreate a resource bundle DescriptionObject oriented style (method)
public
static
ResourceBundle
ResourceBundle::create
( string
$locale
, string $bundlename
[, bool $fallback
] )Procedural style
ResourceBundle
resourcebundle_create
( string
$locale
, string $bundlename
[, bool $fallback
] )Object oriented style (constructor):
public
ResourceBundle::__construct
( string
$locale
, string $bundlename
[, bool $fallback
] )Creates a resource bundle. Parameters
Return Values
Returns ResourceBundle object or ExamplesExample #1 resourcebundle_create example
<?php Example #2 ResourceBundle::create example
<?php The above example will output: ¡Hola, mundo! See Also
|