Actions

API17

Difference between revisions of "JRequest::getCmd"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRequest::getCmd|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRequest::getCmd|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JRequest::getCmd ($name, $default= '', $hash= 'default')
+
public static function getCmd (
 +
        $name
 +
        $default= ''
 +
        $hash= 'default'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 251 of libraries/joomla/environment/request.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/environment/request.php (line 250)
+
** [[JController::display/11.1|JController::display]]
* see source code in [[jplatform:environment/request.php#cl-250|BitBucket]]
+
** [[JApplicationHelper::getComponentName/11.1|JApplicationHelper::getComponentName]]
===Referenced by===
+
** [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
* [[JController::display/11.1|JController::display]]
+
** [[JControllerForm::getRedirectToItemAppend/11.1|JControllerForm::getRedirectToItemAppend]]
* [[JApplicationHelper::getComponentName/11.1|JApplicationHelper::getComponentName]]
+
** [[JControllerForm::getRedirectToListAppend/11.1|JControllerForm::getRedirectToListAppend]]
* [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
+
** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
* [[JControllerForm::getRedirectToItemAppend/11.1|JControllerForm::getRedirectToItemAppend]]
+
** [[JDocumentFeed::render/11.1|JDocumentFeed::render]]
* [[JControllerForm::getRedirectToListAppend/11.1|JControllerForm::getRedirectToListAppend]]
+
** [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
* [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
+
* [[JDocumentFeed::render/11.1|JDocumentFeed::render]]
+
* [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRequest::getCmd source code''' on [[jplatform:environment/request.php#cl-243|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRequest/11.1|JRequest]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JRequest::getCmd|Other versions of JRequest::getCmd]]
 +
{{SeeAlso:JRequest::getCmd}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::getCmd|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::getCmd|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRequest/11.1|JRequest]]
+
===User contributed notes===
* [[JRequest::getCmd|Other versions of this method]]
+
{{SeeAlso:JRequest::getCmd}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 64: Line 66:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::getCmd]]</noinclude>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::getCmd]]</noinclude>

Revision as of 20:32, 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::getCmd

Description

Fetches and returns a given filtered variable.

Description:JRequest::getCmd [Edit Descripton]

public static function getCmd (
        $name
        $default= ''
        $hash= 'default'
)
Parameter Type Default Description
$name
$default
$hash 'default'

See also

SeeAlso:JRequest::getCmd [Edit See Also]

User contributed notes

<CodeExamplesForm />