components/FcrnRate.php
public function isValidCurrencyId($id) {
        $this->sError = FALSE;

        if (!$this->getCurrencyId2Code($id)) {
            $this->sError = 'Incorect currency id: ' . $id;
            return FALSE;
        }

        return TRUE;
    }
public function isValidCurrencyId($id) {
        $this->sError = FALSE;

        if (!$this->getCurrencyId2Code($id)) {
            $this->sError = 'Incorect currency id: ' . $id;
            return FALSE;
        }

        return TRUE;
    }
public function isValidCurrencyId ( $ id ) { $ this -> sError = FALSE ; if ( ! $ this -> getCurrencyId2Code ( $ id ) ) { $ this -> sError = 'Incorect currency id: ' . $ id ; return FALSE ; } return TRUE ; }
Validate currency ID
@param char $id currency id
@return boolean
Validate currency ID