original_string: public static function set($array, $hash = 'default', $overwrite = true)
  	{
  		foreach ($array as $key => $value)
  		{
  			self::setVar($key, $value, $hash, $overwrite);
  		}
  	}
code: public static function set($array, $hash = 'default', $overwrite = true)
  	{
  		foreach ($array as $key => $value)
  		{
  			self::setVar($key, $value, $hash, $overwrite);
  		}
  	}
code_tokens: public static function set ( $ array , $ hash = 'default' , $ overwrite = true ) { foreach ( $ array as $ key => $ value ) { self :: setVar ( $ key , $ value , $ hash , $ overwrite ) ; } }
docstring: Sets a request variable.
  
  @param   array    $array      An associative array of key-value pairs.
  @param   string   $hash       The request variable to set (POST, GET, FILES, METHOD).
  @param   boolean  $overwrite  If true and an existing key is found, the value is overwritten, otherwise it is ignored.
  
  @return  void
  
  @deprecated  12.1  Use JInput::set()
  @see         JInput::set()
  @since       11.1
docstring_tokens: Sets a request variable .