private function _getLanguageList()
    {
        $dirlist = CommonFunctions::gdc(PSI_APP_ROOT.'/language/');
        sort($dirlist);
        foreach ($dirlist as $file) {
            $lang_ext = strtolower(substr($file, strlen($file) - 4));
            $lang_name = strtolower(substr($file, 0, strlen($file) - 4));
            if ($lang_ext == ".xml") {
                array_push($this->_languages, $lang_name);
            }
        }
    }
private function _getLanguageList()
    {
        $dirlist = CommonFunctions::gdc(PSI_APP_ROOT.'/language/');
        sort($dirlist);
        foreach ($dirlist as $file) {
            $lang_ext = strtolower(substr($file, strlen($file) - 4));
            $lang_name = strtolower(substr($file, 0, strlen($file) - 4));
            if ($lang_ext == ".xml") {
                array_push($this->_languages, $lang_name);
            }
        }
    }
private function _getLanguageList ( ) { $ dirlist = CommonFunctions :: gdc ( PSI_APP_ROOT . '/language/' ) ; sort ( $ dirlist ) ; foreach ( $ dirlist as $ file ) { $ lang_ext = strtolower ( substr ( $ file , strlen ( $ file ) - 4 ) ) ; $ lang_name = strtolower ( substr ( $ file , 0 , strlen ( $ file ) - 4 ) ) ; if ( $ lang_ext == ".xml" ) { array_push ( $ this -> _languages , $ lang_name ) ; } } }
get all available translations and store them in internal array

@return void
get all available translations and store them in internal array