r::data PHP Method

data() static public method

fetch all data from the request and sanitize it
static public data ( )
    static function data()
    {
        if (self::$_) {
            return self::$_;
        }
        return self::$_ = self::sanitize($_REQUEST);
    }

Usage Example

示例#1
0
 public function values($values = null)
 {
     if (is_null($values)) {
         return array_merge($this->values, r::data());
     }
     $this->values = array_merge($this->values, $values);
     return $this;
 }
All Usage Examples Of r::data