library/core/class.request.php
protected function _SetRequestArguments($ParamsType, $ParamsData = NULL) {
      switch ($ParamsType) {
         case self::INPUT_GET:
            $ArgumentData = $_GET;
            break;
            
         case self::INPUT_POST:
            $ArgumentData = $_POST;
            break;
            
         case self::INPUT_SERVER:
            $ArgumentData = $_SERVER;
            break;
            
         case self::INPUT_FILES:
            $ArgumentData = $_FILES;
            break;
            
         case self::INPUT_ENV:
            $ArgumentData = $_ENV;
            break;
            
         case self::INPUT_COOKIES:
            $ArgumentData = $_COOKIE;
            break;
            
         case self::INPUT_CUSTOM:
            $ArgumentData = is_array($ParamsData) ? $ParamsData : array();
            break;
      
      }
      $this->_RequestArguments[$ParamsType] = $ArgumentData;
   }
protected function _SetRequestArguments($ParamsType, $ParamsData = NULL) {
      switch ($ParamsType) {
         case self::INPUT_GET:
            $ArgumentData = $_GET;
            break;
            
         case self::INPUT_POST:
            $ArgumentData = $_POST;
            break;
            
         case self::INPUT_SERVER:
            $ArgumentData = $_SERVER;
            break;
            
         case self::INPUT_FILES:
            $ArgumentData = $_FILES;
            break;
            
         case self::INPUT_ENV:
            $ArgumentData = $_ENV;
            break;
            
         case self::INPUT_COOKIES:
            $ArgumentData = $_COOKIE;
            break;
            
         case self::INPUT_CUSTOM:
            $ArgumentData = is_array($ParamsData) ? $ParamsData : array();
            break;
      
      }
      $this->_RequestArguments[$ParamsType] = $ArgumentData;
   }
protected function _SetRequestArguments ( $ ParamsType , $ ParamsData = NULL ) { switch ( $ ParamsType ) { case self :: INPUT_GET : $ ArgumentData = $ _GET ; break ; case self :: INPUT_POST : $ ArgumentData = $ _POST ; break ; case self :: INPUT_SERVER : $ ArgumentData = $ _SERVER ; break ; case self :: INPUT_FILES : $ ArgumentData = $ _FILES ; break ; case self :: INPUT_ENV : $ ArgumentData = $ _ENV ; break ; case self :: INPUT_COOKIES : $ ArgumentData = $ _COOKIE ; break ; case self :: INPUT_CUSTOM : $ ArgumentData = is_array ( $ ParamsData ) ? $ ParamsData : array ( ) ; break ; } $ this -> _RequestArguments [ $ ParamsType ] = $ ArgumentData ; }
Attach an array of request arguments to the request.

@param int $ParamsType type of data to import. One of the self::INPUT_* constants
@param array $ParamsData optional data array to import if ParamsType is INPUT_CUSTOM
@return void
Attach an array of request arguments to the request .