public function getMethod($allowOverride = true)
	{
		if($allowOverride && $this->methodOverride !== NULL && $this->method == Http::METHOD_POST)
		{
			return $this->methodOverride;
		}
		
		return $this->method;
	}
public function getMethod($allowOverride = true)
	{
		if($allowOverride && $this->methodOverride !== NULL && $this->method == Http::METHOD_POST)
		{
			return $this->methodOverride;
		}
		
		return $this->method;
	}
public function getMethod ( $ allowOverride = true ) { if ( $ allowOverride && $ this -> methodOverride !== NULL && $ this -> method == Http :: METHOD_POST ) { return $ this -> methodOverride ; } return $ this -> method ; }
Get the HTTP request method.

@param boolean $allowOverride Allow method override in POST request?
@return string The name of the HTTP request method being used.
Get the HTTP request method .