src/classes/CCIn/Instance.php
public function method( $is = null ) 
	{
		if ( !is_null( $is ) )
		{
			return strtoupper( $is ) === $this->method();
		}
		
		return strtoupper( $this->server( 'HTTP_X_HTTP_METHOD_OVERRIDE', $this->server( 'REQUEST_METHOD', 'GET' ) ) );
	}
public function method( $is = null ) 
	{
		if ( !is_null( $is ) )
		{
			return strtoupper( $is ) === $this->method();
		}
		
		return strtoupper( $this->server( 'HTTP_X_HTTP_METHOD_OVERRIDE', $this->server( 'REQUEST_METHOD', 'GET' ) ) );
	}
public function method ( $ is = null ) { if ( ! is_null ( $ is ) ) { return strtoupper ( $ is ) === $ this -> method ( ) ; } return strtoupper ( $ this -> server ( 'HTTP_X_HTTP_METHOD_OVERRIDE' , $ this -> server ( 'REQUEST_METHOD' , 'GET' ) ) ) ; }
get the current requesting method
GET, POST, PUT, DELETE

@param string			$is
@return string
get the current requesting method GET POST PUT DELETE