Difference between revisions of "JInput::get"
From Joomla! Documentation
m (JoomlaWikiBot moved page JInput::get/11.1 to API17:JInput::get without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Gets a value from the input data. | Gets a value from the input data. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function get ( | public function get ( | ||
Line 43: | Line 41: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JInput::get source code''' on [[jplatform:application/input.php#cl-113|BitBucket]] | * {{JVer|11.1}} '''JInput::get source code''' on [[jplatform:application/input.php#cl-113|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JInput | + | * {{JVer|11.1}} Class [[API17:JInput|JInput]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[JInput::get|Other versions of JInput::get]] | + | * [[API17:JInput::get|Other versions of JInput::get]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInput::get | category=JInput::get | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 61: | Line 57: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:15, 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.
JInput::get[edit]
Description[edit]
Gets a value from the input data.
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
User contributed notes[edit]
Code Examples[edit]