library/core/class.request.php
public function Merged($Key = NULL, $Default = NULL) {
      $Merged = array();
      $QueryOrder = array(
         self::INPUT_CUSTOM,
         self::INPUT_GET,
         self::INPUT_POST,
         self::INPUT_FILES,
         self::INPUT_SERVER,
         self::INPUT_ENV,
         self::INPUT_COOKIES
      );
      $NumDataTypes = sizeof($QueryOrder);
      for ($i=$NumDataTypes; $i > 0; $i--) {
         $DataType = $QueryOrder[$i-1];
         if (!array_key_exists($DataType, $this->_RequestArguments)) continue;
         $Merged = array_merge($Merged, $this->_RequestArguments[$DataType]);
      }
      
      return (is_null($Key)) ? $Merged : GetValue($Key, $Merged, $Default);
   }
public function Merged($Key = NULL, $Default = NULL) {
      $Merged = array();
      $QueryOrder = array(
         self::INPUT_CUSTOM,
         self::INPUT_GET,
         self::INPUT_POST,
         self::INPUT_FILES,
         self::INPUT_SERVER,
         self::INPUT_ENV,
         self::INPUT_COOKIES
      );
      $NumDataTypes = sizeof($QueryOrder);
      for ($i=$NumDataTypes; $i > 0; $i--) {
         $DataType = $QueryOrder[$i-1];
         if (!array_key_exists($DataType, $this->_RequestArguments)) continue;
         $Merged = array_merge($Merged, $this->_RequestArguments[$DataType]);
      }
      
      return (is_null($Key)) ? $Merged : GetValue($Key, $Merged, $Default);
   }
public function Merged ( $ Key = NULL , $ Default = NULL ) { $ Merged = array ( ) ; $ QueryOrder = array ( self :: INPUT_CUSTOM , self :: INPUT_GET , self :: INPUT_POST , self :: INPUT_FILES , self :: INPUT_SERVER , self :: INPUT_ENV , self :: INPUT_COOKIES ) ; $ NumDataTypes = sizeof ( $ QueryOrder ) ; for ( $ i = $ NumDataTypes ; $ i > 0 ; $ i -- ) { $ DataType = $ QueryOrder [ $ i - 1 ] ; if ( ! array_key_exists ( $ DataType , $ this -> _RequestArguments ) ) continue ; $ Merged = array_merge ( $ Merged , $ this -> _RequestArguments [ $ DataType ] ) ; } return ( is_null ( $ Key ) ) ? $ Merged : GetValue ( $ Key , $ Merged , $ Default ) ; }
Get a value from the merged param array or return the entire merged array

@param string|null $Key The key of the post item or null to return the entire array.
@param mixed $Default The value to return if the item isn't set.
@return mixed
Get a value from the merged param array or return the entire merged array