Class Hooks
Methods summary
public static
get_cldr_provider( void )
: ICanBoogie\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.
public static
get_cldr( ICanBoogie\Application $app
)
: ICanBoogie\CLDR\Repository
Returns a ICanBoogie\CLDR\Repository instance created with $app->cldr_provider
.
public static
get_locale( ICanBoogie\Application $app
)
: ICanBoogie\CLDR\Locale
Returns the locale used by the application.