API17

Difference between revisions of "JURI::getVar"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Returns a query variable by name.  
 
Returns a query variable by name.  
  
{{Description:JURI::getVar}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JURI::getVar|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function getVar (
 
public function getVar (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JURI::getVar source code''' on [[jplatform:environment/uri.php#cl-376|BitBucket]]
 
* {{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}} Class [[API17:JURI|JURI]]
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[JURI::getVar|Other versions of JURI::getVar]]
+
* [[API17:JURI::getVar|Other versions of JURI::getVar]]
{{SeeAlso:JURI::getVar}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getVar|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JURI::getVar
 
category=JURI::getVar
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 55: Line 51:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JURI]][[Category:JURI::getVar]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:53, 24 March 2017

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.

Joomla 11.1 JURI::getVar[edit]

Description[edit]

Returns a query variable by name.


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[edit]


User contributed notes[edit]

Code Examples[edit]