source/Application/Model/PriceAlarm.php
public function getPriceAlarmCurrency()
    {
        if ($this->_oCurrency == null) {
            $this->_oCurrency = false;
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
            $oThisCurr = $myConfig->getCurrencyObject($this->oxpricealarm__oxcurrency->value);

            // #869A we should perform currency conversion
            // (older versions doesn't have currency info - assume as it is default - first in currency array)
            if (!$oThisCurr) {
                $oDefCurr = $myConfig->getActShopCurrencyObject();
                $oThisCurr = $myConfig->getCurrencyObject($oDefCurr->name);
                $this->oxpricealarm__oxcurrency->setValue($oDefCurr->name);
            }
            $this->_oCurrency = $oThisCurr;
        }

        return $this->_oCurrency;
    }
public function getPriceAlarmCurrency()
    {
        if ($this->_oCurrency == null) {
            $this->_oCurrency = false;
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
            $oThisCurr = $myConfig->getCurrencyObject($this->oxpricealarm__oxcurrency->value);

            // #869A we should perform currency conversion
            // (older versions doesn't have currency info - assume as it is default - first in currency array)
            if (!$oThisCurr) {
                $oDefCurr = $myConfig->getActShopCurrencyObject();
                $oThisCurr = $myConfig->getCurrencyObject($oDefCurr->name);
                $this->oxpricealarm__oxcurrency->setValue($oDefCurr->name);
            }
            $this->_oCurrency = $oThisCurr;
        }

        return $this->_oCurrency;
    }
public function getPriceAlarmCurrency ( ) { if ( $ this -> _oCurrency == null ) { $ this -> _oCurrency = false ; $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ oThisCurr = $ myConfig -> getCurrencyObject ( $ this -> oxpricealarm__oxcurrency -> value ) ; // #869A we should perform currency conversion // (older versions doesn't have currency info - assume as it is default - first in currency array) if ( ! $ oThisCurr ) { $ oDefCurr = $ myConfig -> getActShopCurrencyObject ( ) ; $ oThisCurr = $ myConfig -> getCurrencyObject ( $ oDefCurr -> name ) ; $ this -> oxpricealarm__oxcurrency -> setValue ( $ oDefCurr -> name ) ; } $ this -> _oCurrency = $ oThisCurr ; } return $ this -> _oCurrency ; }
Returns pricealarm currency object

@return object
Returns pricealarm currency object