private function parseCgiParameters() {
		
		if (FALSE===strpos($this->url, '?')) {
			return;
		}
			
		$temp = explode('?', $this->url);
		$this->url = $temp[0];
		
		if (!array_key_exists(1, $temp)) {
			return;
		}
			
		// adds to $this->params
		$couples = explode('&', $temp[1]);
		
		foreach ($couples as $c) {
			
			$var = explode('=', $c);
			
			if (array_key_exists(1, $var)) {
				list ($key, $value) = $var;
				$this->setParam($key, $value);
			}
			
		}
		
	}
private function parseCgiParameters() {
		
		if (FALSE===strpos($this->url, '?')) {
			return;
		}
			
		$temp = explode('?', $this->url);
		$this->url = $temp[0];
		
		if (!array_key_exists(1, $temp)) {
			return;
		}
			
		// adds to $this->params
		$couples = explode('&', $temp[1]);
		
		foreach ($couples as $c) {
			
			$var = explode('=', $c);
			
			if (array_key_exists(1, $var)) {
				list ($key, $value) = $var;
				$this->setParam($key, $value);
			}
			
		}
		
	}
private function parseCgiParameters ( ) { if ( FALSE === strpos ( $ this -> url , '?' ) ) { return ; } $ temp = explode ( '?' , $ this -> url ) ; $ this -> url = $ temp [ 0 ] ; if ( ! array_key_exists ( 1 , $ temp ) ) { return ; } // adds to $this->params $ couples = explode ( '&' , $ temp [ 1 ] ) ; foreach ( $ couples as $ c ) { $ var = explode ( '=' , $ c ) ; if ( array_key_exists ( 1 , $ var ) ) { list ( $ key , $ value ) = $ var ; $ this -> setParam ( $ key , $ value ) ; } } }
Checks if there are any GET vars in the URL, adds these to object
vars and removes from URL.
Checks if there are any GET vars in the URL adds these to object vars and removes from URL .