/**
  * Creates the admin-form object
  *
  * @param class_module_languages_language $objLanguage
  *
  * @return class_admin_formgenerator
  */
 private function getAdminForm(class_module_languages_language $objLanguage)
 {
     $objLang = new class_module_languages_language();
     $arrLanguages = $objLang->getAllLanguagesAvailable();
     $arrLanguagesDD = array();
     foreach ($arrLanguages as $strLangShort) {
         $arrLanguagesDD[$strLangShort] = $this->getLang("lang_" . $strLangShort);
     }
     $objForm = new class_admin_formgenerator("language", $objLanguage);
     $objForm->addDynamicField("strName")->setArrKeyValues($arrLanguagesDD);
     $objForm->addDynamicField("bitDefault");
     return $objForm;
 }