Example #1
0
 /**
  * Get a langid from possible get parameters. default is browser.
  * @return string
  */
 private function getSelectedLangID()
 {
     if ('' !== ($iso = Common::getGetString('to_iso'))) {
         if (false !== ($id = GWF_Language::getIDByISO($iso))) {
             return $id;
         }
     }
     return Common::getGetString('to_lang_id', true);
 }