library/core/class.gdn.php
public static function Request($NewRequest = NULL) {
      $Request = self::$_Request; //self::Factory(self::AliasRequest);
      if (!is_null($NewRequest)) {
			if (is_string($NewRequest))
				$Request->WithURI($NewRequest);
			elseif (is_object($NewRequest))
				$Request->FromImport($NewRequest);
		}
      
      return $Request;
   }
public static function Request($NewRequest = NULL) {
      $Request = self::$_Request; //self::Factory(self::AliasRequest);
      if (!is_null($NewRequest)) {
			if (is_string($NewRequest))
				$Request->WithURI($NewRequest);
			elseif (is_object($NewRequest))
				$Request->FromImport($NewRequest);
		}
      
      return $Request;
   }
public static function Request ( $ NewRequest = NULL ) { $ Request = self :: $ _Request ; //self::Factory(self::AliasRequest); if ( ! is_null ( $ NewRequest ) ) { if ( is_string ( $ NewRequest ) ) $ Request -> WithURI ( $ NewRequest ) ; elseif ( is_object ( $ NewRequest ) ) $ Request -> FromImport ( $ NewRequest ) ; } return $ Request ; }
Get or set the current request object.
@param Gdn_Request $NewRequest The new request or null to just get the request.
@return Gdn_Request
Get or set the current request object .