src/Ubiquity/utils/http/URequest.php
public static function getDatas() {
		$method = \strtolower ( $_SERVER ['REQUEST_METHOD'] );
		switch ($method) {
			case 'post' :
				if (self::getContentType () == 'application/x-www-form-urlencoded') {
					return $_POST;
				}
				break;
			case 'get' :
				return $_GET;
			default :
				return self::getInput ();
		}
		return self::getInput ();
	}
public static function getDatas() {
		$method = \strtolower ( $_SERVER ['REQUEST_METHOD'] );
		switch ($method) {
			case 'post' :
				if (self::getContentType () == 'application/x-www-form-urlencoded') {
					return $_POST;
				}
				break;
			case 'get' :
				return $_GET;
			default :
				return self::getInput ();
		}
		return self::getInput ();
	}
public static function getDatas ( ) { $ method = \ strtolower ( $ _SERVER [ 'REQUEST_METHOD' ] ) ; switch ( $ method ) { case 'post' : if ( self :: getContentType ( ) == 'application/x-www-form-urlencoded' ) { return $ _POST ; } break ; case 'get' : return $ _GET ; default : return self :: getInput ( ) ; } return self :: getInput ( ) ; }
Returns the query data, regardless of the method

@return array
Returns the query data regardless of the method