function version($version) {
		$this->version = (int)$version;
		if ($version == 2) {
			$this->url_base = $this->url_base . "/2";
		}
	}
function version($version) {
		$this->version = (int)$version;
		if ($version == 2) {
			$this->url_base = $this->url_base . "/2";
		}
	}
function version ( $ version ) { $ this -> version = ( int ) $ version ; if ( $ version == 2 ) { $ this -> url_base = $ this -> url_base . "/2" ; } }
Set the version on the url

@param $version
Set the version on the url