source/Core/Config.php
public function getActShopCurrencyObject()
    {
        if ($this->_oActCurrencyObject === null) {
            $cur = $this->getShopCurrency();
            $currencies = $this->getCurrencyArray();
            if (!isset($currencies[$cur])) {
                $this->_oActCurrencyObject = reset($currencies); // reset() returns the first element
            } else {
                $this->_oActCurrencyObject = $currencies[$cur];
            }
        }

        return $this->_oActCurrencyObject;
    }
public function getActShopCurrencyObject()
    {
        if ($this->_oActCurrencyObject === null) {
            $cur = $this->getShopCurrency();
            $currencies = $this->getCurrencyArray();
            if (!isset($currencies[$cur])) {
                $this->_oActCurrencyObject = reset($currencies); // reset() returns the first element
            } else {
                $this->_oActCurrencyObject = $currencies[$cur];
            }
        }

        return $this->_oActCurrencyObject;
    }
public function getActShopCurrencyObject ( ) { if ( $ this -> _oActCurrencyObject === null ) { $ cur = $ this -> getShopCurrency ( ) ; $ currencies = $ this -> getCurrencyArray ( ) ; if ( ! isset ( $ currencies [ $ cur ] ) ) { $ this -> _oActCurrencyObject = reset ( $ currencies ) ; // reset() returns the first element } else { $ this -> _oActCurrencyObject = $ currencies [ $ cur ] ; } } return $ this -> _oActCurrencyObject ; }
Returns active shop currency object.

@return object
Returns active shop currency object .