public static function getLanguageOptions()
    {
        $languages = array();

        foreach (self::$languages as $language) {
            $strings = array();
            require(PHPCI_DIR . 'PHPCI/Languages/lang.' . $language . '.php');
            $languages[$language] = $strings['language_name'];
        }

        return $languages;
    }
public static function getLanguageOptions()
    {
        $languages = array();

        foreach (self::$languages as $language) {
            $strings = array();
            require(PHPCI_DIR . 'PHPCI/Languages/lang.' . $language . '.php');
            $languages[$language] = $strings['language_name'];
        }

        return $languages;
    }
public static function getLanguageOptions ( ) { $ languages = array ( ) ; foreach ( self :: $ languages as $ language ) { $ strings = array ( ) ; require ( PHPCI_DIR . 'PHPCI/Languages/lang.' . $ language . '.php' ) ; $ languages [ $ language ] = $ strings [ 'language_name' ] ; } return $ languages ; }
Return a list of available languages and their names.

@return array
Return a list of available languages and their names .