languages) === false ) { $lang = $mod->languages[0]; } $langClass=$mod->namespace."\\lang\\".$lang; if (!class_exists($langClass)) { $langClass=$mod->namespace."\\lang_".$lang; } if (!class_exists($langClass)) { throw new foxException("Class ".$langClass." not found!"); } try { return constant($langClass."::".$ref[1]); } catch (\Exception $e) { return null; } } } ?>