Difference between revisions of "JRequest::set"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 38: | Line 38: | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/environment/request.php | + | libraries/joomla/environment/request.php (line 416) |
+ | * see source code in [[jplatform:environment/request.php#cl-416|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
− | * [[JApplication | + | * [[JApplication::route/11.1|JApplication::route]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:08, 23 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRequest::set[edit]
Description[edit]
Sets a request variable.
Template:Description:JRequest::set [Edit Descripton]
Synopsis[edit]
public static JRequest::set ($array, $hash= 'default', $overwrite=true)
Parameter | Type | Default | Description |
---|---|---|---|
$array | array | An associative array of key-value pairs. | |
$hash | string | 'default' | The request variable to set (POST, GET, FILES, METHOD). |
$overwrite | boolean | true | If true and an existing key is found, the value is overwritten, otherwise it is ignored. |
Returns[edit]
Defined in[edit]
libraries/joomla/environment/request.php (line 416)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JRequest::set
Examples[edit]
<CodeExamplesForm />