protected static function loadAvailableLanguages()
    {
        $matches = array();
        foreach (glob(PHPCI_DIR . 'PHPCI/Languages/lang.*.php') as $file) {
            if (preg_match('/lang\.([a-z]{2}\-?[a-z]*)\.php/', $file, $matches)) {
                self::$languages[] = $matches[1];
            }
        }
    }
protected static function loadAvailableLanguages()
    {
        $matches = array();
        foreach (glob(PHPCI_DIR . 'PHPCI/Languages/lang.*.php') as $file) {
            if (preg_match('/lang\.([a-z]{2}\-?[a-z]*)\.php/', $file, $matches)) {
                self::$languages[] = $matches[1];
            }
        }
    }
protected static function loadAvailableLanguages ( ) { $ matches = array ( ) ; foreach ( glob ( PHPCI_DIR . 'PHPCI/Languages/lang.*.php' ) as $ file ) { if ( preg_match ( '/lang\.([a-z]{2}\-?[a-z]*)\.php/' , $ file , $ matches ) ) { self :: $ languages [ ] = $ matches [ 1 ] ; } } }
Load the names of all available languages.
Load the names of all available languages .