Difference between revisions of "JInput::get"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JInput::get ($name, $default=null, $filter= 'cmd') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 40: | ||
mixed The filtered input value. | mixed The filtered input value. | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/application/input.php | + | libraries/joomla/application/input.php (line 131) |
+ | * see source code in [[jplatform:application/input.php#cl-131|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:45, 23 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]
Since[edit]
Synopsis[edit]
public JInput::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[edit]
mixed The filtered input value.
Defined in[edit]
libraries/joomla/application/input.php (line 131)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
<CodeExamplesForm />