Actions

API17

Difference between revisions of "JRequest::set"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRequest::set|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRequest::set|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JRequest::set ($array, $hash= 'default', $overwrite=true)
+
public static function set (
 +
        $array
 +
        $hash= 'default'
 +
        $overwrite=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 417 of libraries/joomla/environment/request.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/environment/request.php
+
** [[JApplication::route/11.1|JApplication::route]]
===Referenced by===
+
* [[JApplication/route/11.1|JApplication::route]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRequest::set source code''' on [[jplatform:environment/request.php#cl-409|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRequest/11.1|JRequest]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JRequest::set|Other versions of JRequest::set]]
 +
{{SeeAlso:JRequest::set}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::set|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::set|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRequest/11.1|JRequest]]
+
===User contributed notes===
* [[JRequest::set|Other versions of this method]]
+
{{SeeAlso:JRequest::set}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 56: Line 59:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::set]]</noinclude>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::set]]</noinclude>

Revision as of 21:33, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JRequest::set

Description

Sets a request variable.

Description:JRequest::set [Edit Descripton]

public static function 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
  • Defined on line 417 of libraries/joomla/environment/request.php
  • Referenced by

See also

SeeAlso:JRequest::set [Edit See Also]

User contributed notes

<CodeExamplesForm />