static public getLocaleDirection ( $locale ) : string | ||
$locale | string | |
return | string |
static function getLocaleDirection($locale)
{
$contents =& AppLocale::_getAllLocalesCacheContent();
if (isset($contents[$locale]['direction'])) {
return $contents[$locale]['direction'];
}
return 'ltr';
}