protected function setVersion($version)
    {
        $cleanVer = $this->cleanVersion($version);

        if ($cleanVer == '') {
            $this->_version = self::VERSION_UNKNOWN;
        } else {
            $this->_version = $cleanVer;
        }
    }
protected function setVersion($version)
    {
        $cleanVer = $this->cleanVersion($version);

        if ($cleanVer == '') {
            $this->_version = self::VERSION_UNKNOWN;
        } else {
            $this->_version = $cleanVer;
        }
    }
protected function setVersion ( $ version ) { $ cleanVer = $ this -> cleanVersion ( $ version ) ; if ( $ cleanVer == '' ) { $ this -> _version = self :: VERSION_UNKNOWN ; } else { $ this -> _version = $ cleanVer ; } }
Set the version of the browser.
@access protected
@param string $version The version of the browser.
Set the version of the browser .