Пример #1
0
 function pushLocale($category, $locale)
 {
     fbDebug::enter();
     assert('$category == LC_ALL   || $category == LC_COLLATE ||' . '$category == LC_CTYPE || $category == LC_MONETARY ||' . '$category == LC_NUMERIC  || $category == LC_TIME');
     $old_locale = fbLocale::_getLocale($category);
     fbDebug::dump($old_locale, '$old_locale');
     fbLocale::_localeStack($category, $old_locale);
     $rv = fbLocale::setLocale($category, $locale);
     fbDebug::leave($rv);
     return $rv;
 }