Difference between revisions of "JInput::get"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JInput::get|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInput::get|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function get ( |
+ | $name | ||
+ | $default=null | ||
+ | $filter= 'cmd' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed The filtered input value. | |
− | mixed The filtered input value. | + | * '''Defined''' on line 121 of libraries/joomla/application/input.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/input.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JInput::get source code''' on [[jplatform:application/input.php#cl-113|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JInput/11.1|JInput]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
+ | * [[JInput::get|Other versions of JInput::get]] | ||
+ | {{SeeAlso:JInput::get}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInput::get|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInput::get|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 57: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JInput]][[Category:JInput::get]]</noinclude> | <noinclude>[[Category:JInput]][[Category:JInput::get]]</noinclude> |
Revision as of 21:10, 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.
JInput::get[edit]
Description[edit]
Gets a value from the input data.
Template:Description:JInput::get [Edit Descripton]
public function get (
$name
$default=null
$filter= 'cmd'
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | Name of the value to get. | |
$default | mixed | null | Default value to return if variable does not exist. |
$filter | string | 'cmd' | Filter to apply to the value. |
- Returns mixed The filtered input value.
- Defined on line 121 of libraries/joomla/application/input.php
- Since
See also[edit]
- JInput::get source code on BitBucket
- Class JInput
- Subpackage Application
- Other versions of JInput::get
Template:SeeAlso:JInput::get [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />