protected function getCurrencyCodeAttribute()
    {
        if (empty($this->sActiveCurrency)) {
            return CurrencyHelper::instance()->getActiveCurrencyCode();
        }

        $sResult = CurrencyHelper::instance()->getCurrencyCode($this->sActiveCurrency);
        $this->sActiveCurrency = null;

        return $sResult;
    }
protected function getCurrencyCodeAttribute()
    {
        if (empty($this->sActiveCurrency)) {
            return CurrencyHelper::instance()->getActiveCurrencyCode();
        }

        $sResult = CurrencyHelper::instance()->getCurrencyCode($this->sActiveCurrency);
        $this->sActiveCurrency = null;

        return $sResult;
    }
protected function getCurrencyCodeAttribute ( ) { if ( empty ( $ this -> sActiveCurrency ) ) { return CurrencyHelper :: instance ( ) -> getActiveCurrencyCode ( ) ; } $ sResult = CurrencyHelper :: instance ( ) -> getCurrencyCode ( $ this -> sActiveCurrency ) ; $ this -> sActiveCurrency = null ; return $ sResult ; }
Get currency code value
@return null|string
Get currency code value