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

        if ($this->_source === FALSE) {
            $this->_loadSources();
        }
        if (!isset($this->_source[$source])) {
            $this->sError = 'Incorect source id: ' . $source;
            return FALSE;
        }

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

        if ($this->_source === FALSE) {
            $this->_loadSources();
        }
        if (!isset($this->_source[$source])) {
            $this->sError = 'Incorect source id: ' . $source;
            return FALSE;
        }

        return TRUE;
    }
public function isValidSourceId ( $ source ) { $ this -> sError = FALSE ; if ( $ this -> _source === FALSE ) { $ this -> _loadSources ( ) ; } if ( ! isset ( $ this -> _source [ $ source ] ) ) { $ this -> sError = 'Incorect source id: ' . $ source ; return FALSE ; } return TRUE ; }
Validate SOURCE ID
@param char $id source id
@return boolean
Validate SOURCE ID