<? Class Language{ public static function pickMessage($id,$language){ global $path2Languages; require_once("$path2Languages\\$language.inc.php"); $MessageList = new MessageList(); return $MessageList->ErrorMessages[$id]; } } ?>
info at phpclasses dot org