public function get_list_of_currencies($lang = null) {
        if ($lang === null) {
            $lang = current_language();
        }

        $currencies = $this->load_component_strings('core_currencies', $lang);
        asort($currencies);

        return $currencies;
    }
public function get_list_of_currencies($lang = null) {
        if ($lang === null) {
            $lang = current_language();
        }

        $currencies = $this->load_component_strings('core_currencies', $lang);
        asort($currencies);

        return $currencies;
    }
public function get_list_of_currencies ( $ lang = null ) { if ( $ lang === null ) { $ lang = current_language ( ) ; } $ currencies = $ this -> load_component_strings ( 'core_currencies' , $ lang ) ; asort ( $ currencies ) ; return $ currencies ; }
Returns localised list of currencies.

@param string $lang moodle translation language, null means use current
@return array currency code => localised currency name
Returns localised list of currencies .