Difference between revisions of "JRequest::getVar"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRequest::getVar|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRequest::getVar|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function getVar ( |
+ | $name | ||
+ | $default=null | ||
+ | $hash= 'default' | ||
+ | $type= 'none' | ||
+ | $mask=0 | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 45: | Line 50: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 92 of libraries/joomla/environment/request.php | |
− | + | * '''Referenced by''' | |
− | libraries/joomla/environment/request.php | + | ** [[JSession::_start/11.1|JSession::_start]] |
− | * | + | ** [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]] |
− | + | ** [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]] | |
− | * [[JSession::_start/11.1|JSession::_start]] | + | ** [[JControllerForm::edit/11.1|JControllerForm::edit]] |
− | * [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]] | + | ** [[JController::getInstance/11.1|JController::getInstance]] |
− | * [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]] | + | ** [[JModelList::getUserStateFromRequest/11.1|JModelList::getUserStateFromRequest]] |
− | * [[JControllerForm::edit/11.1|JControllerForm::edit]] | + | ** [[JCache::makeId/11.1|JCache::makeId]] |
− | * [[JController::getInstance/11.1|JController::getInstance]] | + | ** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] |
− | * [[JModelList::getUserStateFromRequest/11.1|JModelList::getUserStateFromRequest]] | + | ** [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]] |
− | * [[JCache::makeId/11.1|JCache::makeId]] | + | ** [[JControllerForm::save/11.1|JControllerForm::save]] |
− | * [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] | + | ** [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]] |
− | * [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]] | ||
− | * [[JControllerForm::save/11.1|JControllerForm::save]] | ||
− | * [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JRequest::getVar source code''' on [[jplatform:environment/request.php#cl-84|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JRequest/11.1|JRequest]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]] | ||
+ | * [[JRequest::getVar|Other versions of JRequest::getVar]] | ||
+ | {{SeeAlso:JRequest::getVar}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRequest::getVar|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRequest::getVar|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 77: | Line 81: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRequest]][[Category:JRequest::getVar]]</noinclude> | <noinclude>[[Category:JRequest]][[Category:JRequest::getVar]]</noinclude> |
Revision as of 21:33, 27 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::getVar[edit]
Description[edit]
Fetches and returns a given variable.
Template:Description:JRequest::getVar [Edit Descripton]
public static function getVar (
$name
$default=null
$hash= 'default'
$type= 'none'
$mask=0
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | |||
$default | null | ||
$hash | 'default' | ||
$type | 'none' | ||
$mask | 0 |
- Returns
- Defined on line 92 of libraries/joomla/environment/request.php
- Referenced by
See also[edit]
- JRequest::getVar source code on BitBucket
- Class JRequest
- Subpackage Environment
- Other versions of JRequest::getVar
Template:SeeAlso:JRequest::getVar [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />