Actions

API17

Difference between revisions of "JURI::setVar"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JURI->setVar ($name, $value)
+
public JURI::setVar ($name, $value)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
string Previous value for the query variable.
 
string Previous value for the query variable.
 
===Defined in===
 
===Defined in===
libraries/joomla/environment/uri.php
+
libraries/joomla/environment/uri.php (line 354)
 +
* see source code in [[jplatform:environment/uri.php#cl-354|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:29, 23 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 JURI::setVar

Description

Adds a query variable and value, replacing the value if it already exists and returning the old value.

Description:JURI::setVar [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JURI::setVar ($name, $value)
Parameter Type Default Description
$name string Name of the query variable to set.
$value string Value of the query variable.

Returns

string Previous value for the query variable.

Defined in

libraries/joomla/environment/uri.php (line 354)

Referenced by

See also

[Edit See Also]

SeeAlso:JURI::setVar

Examples

<CodeExamplesForm />