public function setParameter($key, $value, $replace = true) {
		if(!$replace && isset($this->parameters[$key]))
		{
			$temp = (array)($this->parameters[$key]);
			$temp[] = $value;
			$this->parameters[$key] = $temp;
		}
		else
		{
			$this->parameters[$key] = $value;
		}
	}
public function setParameter($key, $value, $replace = true) {
		if(!$replace && isset($this->parameters[$key]))
		{
			$temp = (array)($this->parameters[$key]);
			$temp[] = $value;
			$this->parameters[$key] = $temp;
		}
		else
		{
			$this->parameters[$key] = $value;
		}
	}
public function setParameter ( $ key , $ value , $ replace = true ) { if ( ! $ replace && isset ( $ this -> parameters [ $ key ] ) ) { $ temp = ( array ) ( $ this -> parameters [ $ key ] ) ; $ temp [ ] = $ value ; $ this -> parameters [ $ key ] = $ temp ; } else { $ this -> parameters [ $ key ] = $ value ; } }
Set request parameter

@param string  $key Key
@param string  $value Value
@param boolean $replace Whether to replace the key if it already exists (default true)
@return void
Set request parameter