示例#1
0
 /**
  * Safely gets a $_REQUEST variable. If $name does not exist,
  * $default is provided.
  *
  * @param string $name the array key
  * @param mixed $default the default value to supply if $name
  * does not exist in the array. defaults to null
  * @return mixed the value for key $name
  */
 public static function request($name, $default = null)
 {
     return Params::Generic($_REQUEST, $name, $default);
 }