public static
ICanBoogie\CLDR\Provider
|
#
get_cldr_provider( )
Returns a provider collection with the following providers: ICanBoogie\CLDR\WebProvider,
ICanBoogie\CLDR\FileProvider, and ICanBoogie\CLDR\RunTimeProvider. The ICanBoogie\CLDR\FileProvider is created with
REPOSITORY/cache/cldr as cache directory.
Returns a provider collection with the following providers: ICanBoogie\CLDR\WebProvider,
ICanBoogie\CLDR\FileProvider, and ICanBoogie\CLDR\RunTimeProvider. The ICanBoogie\CLDR\FileProvider is created with
REPOSITORY/cache/cldr as cache directory.
Returns
ICanBoogie\CLDR\Provider
|
public static
ICanBoogie\CLDR\Repository
|
#
get_cldr( ICanBoogie\Core $app )
Returns a ICanBoogie\CLDR\Repository instance created with $app->cldr_provider .
Returns a ICanBoogie\CLDR\Repository instance created with $app->cldr_provider .
Parameters
Returns
ICanBoogie\CLDR\Repository
|
public static
ICanBoogie\CLDR\Locale
|
#
get_locale( ICanBoogie\Core $app )
Returns the locale used by the application.
Returns the locale used by the application.
Parameters
Returns
ICanBoogie\CLDR\Locale
|
public static
|
#
set_locale( ICanBoogie\Core $app, ICanBoogie\CLDR\Locale|string $locale )
Sets the locale used by the application.
Sets the locale used by the application.
Parameters
|
public static
string
|
#
get_language( ICanBoogie\Core $app )
Returns the language of the application.
Returns the language of the application.
Parameters
Returns
string
|