original_string: public function getCurrencyList()
      {
          $currency = Site::getCurrencyList();
  
          $return = array();
          foreach (array_keys(Site::getCurrencyList()) as $currencyCode) {
              $return[$currencyCode] = Piwik::translate('Intl_Currency_' . $currencyCode) .
                ' (' . Piwik::translate('Intl_CurrencySymbol_' . $currencyCode) . ')';
          }
  
          asort($return);
  
          return $return;
      }
code: public function getCurrencyList()
      {
          $currency = Site::getCurrencyList();
  
          $return = array();
          foreach (array_keys(Site::getCurrencyList()) as $currencyCode) {
              $return[$currencyCode] = Piwik::translate('Intl_Currency_' . $currencyCode) .
                ' (' . Piwik::translate('Intl_CurrencySymbol_' . $currencyCode) . ')';
          }
  
          asort($return);
  
          return $return;
      }
code_tokens: public function getCurrencyList ( ) { $ currency = Site :: getCurrencyList ( ) ; $ return = array ( ) ; foreach ( array_keys ( Site :: getCurrencyList ( ) ) as $ currencyCode ) { $ return [ $ currencyCode ] = Piwik :: translate ( 'Intl_Currency_' . $ currencyCode ) . ' (' . Piwik :: translate ( 'Intl_CurrencySymbol_' . $ currencyCode ) . ')' ; } asort ( $ return ) ; return $ return ; }
docstring: Returns the list of supported currencies
  @see getCurrencySymbols()
  @return array ( currencyId => currencyName)
docstring_tokens: Returns the list of supported currencies