LanguageBundle::getScriptName()

string|null getScriptName(string $script, string $language = null, string $displayLocale = null)

Returns the name of a script.

Parameters

string $script A script code (e.g. "Hans")
string $language Optional. A language code (e.g. "zh")
string $displayLocale Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}.

Return Value

string|null The name of the script or NULL if not found
doc_Symfony
2016-10-28 06:22:15
Comments
Leave a Comment

Please login to continue.