Changeset 9923

Show
Ignore:
Timestamp:
11/14/08 08:10:57 (2 months ago)
Author:
afz
Message:

add getRawAll method to Jaws_Request

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/jaws/html/include/Jaws/Request.php

    r7692 r9923  
    184184 
    185185    /** 
     186     * Fetches the data with out filter, it's like using 
     187     * the super globals straight. 
     188     * 
     189     * @param string which super global is being fetched from 
     190     * 
     191     * @access public 
     192     */ 
     193    function getRawAll($type = 'get') 
     194    { 
     195        $type = $this->isTypeValid($type); 
     196        if (!$type) { 
     197            return null; 
     198        } 
     199 
     200        if (isset($this->data[$type])) { 
     201            return $this->data[$type]; 
     202        } 
     203 
     204        return null; 
     205    } 
     206 
     207    /** 
    186208     * Fetches the data, filters it and then it returns it. 
    187209     *