Actions

API17

Difference between revisions of "JURI::getVar"

From Joomla! Documentation

(Layout updates)
m (User contributed notes: re-categorisation)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JURI::getVar|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JURI::getVar|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JURI::getVar ($name, $default=null)
+
public function getVar (
 +
        $name
 +
        $default=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array Query variables.
array Query variables.
+
* '''Defined''' on line 384 of libraries/joomla/environment/uri.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/environment/uri.php (line 384)
+
* see source code in [[jplatform:environment/uri.php#cl-384|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JURI::getVar source code''' on [[jplatform:environment/uri.php#cl-376|BitBucket]]
 +
* {{JVer|11.1}} Class [[JURI/11.1|JURI]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JURI::getVar|Other versions of JURI::getVar]]
 +
{{SeeAlso:JURI::getVar}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getVar|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getVar|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JURI/11.1|JURI]]
+
===User contributed notes===
* [[JURI::getVar|Other versions of this method]]
+
{{SeeAlso:JURI::getVar}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JURI]][[Category:JURI::getVar]]</noinclude>
+
<noinclude>[[Category:JURI]]</noinclude>

Revision as of 11:57, 9 August 2012

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::getVar

Description

Returns a query variable by name.

Description:JURI::getVar [Edit Descripton]

public function getVar (
        $name
        $default=null
)
Parameter Type Default Description
$name string Name of the query variable to get.
$default null
  • Returns array Query variables.
  • Defined on line 384 of libraries/joomla/environment/uri.php
  • Since Joomla 11.1

See also

SeeAlso:JURI::getVar [Edit See Also]

User contributed notes

<CodeExamplesForm />