Difference between revisions of "JInput"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JInput== | ||
+ | ===Description=== | ||
+ | {{Description:JInput}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JInput|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInput|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JInput::__call/11.1|__call]] | |[[JInput::__call/11.1|__call]] | ||
|Magic method to get filtered input data. | |Magic method to get filtered input data. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::__construct/11.1|__construct]] | |[[JInput::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::__get/11.1|__get]] | |[[JInput::__get/11.1|__get]] | ||
|Magic method to get an input object. | |Magic method to get an input object. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::get/11.1|get]] | |[[JInput::get/11.1|get]] | ||
|Gets a value from the input data. | |Gets a value from the input data. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::getArray/11.1|getArray]] | |[[JInput::getArray/11.1|getArray]] | ||
|Gets an array of values from the request. | |Gets an array of values from the request. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::getMethod/11.1|getMethod]] | |[[JInput::getMethod/11.1|getMethod]] | ||
|Gets the request method. | |Gets the request method. | ||
|- | |- | ||
+ | |public | ||
|[[JInput::set/11.1|set]] | |[[JInput::set/11.1|set]] | ||
|Sets a value. | |Sets a value. | ||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/application/input.php | ||
+ | * '''Extended by''' | ||
+ | ** [[JInputCLI/11.1|JInputCLI]] | ||
+ | ** [[JInputCookie/11.1|JInputCookie]] | ||
+ | ** [[JInputFiles/11.1|JInputFiles]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.input' );</source> | <source lang="php">jimport( 'joomla.application.input' );</source> | ||
===See also=== | ===See also=== | ||
− | * JInput source code | + | * {{JVer|11.1}} '''JInput source code''' on [[jplatform:application/input.php|BitBucket]] |
− | * [[JInput|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Application/11.1|Application]] |
+ | * [[JInput|Other versions of JInput]] | ||
{{SeeAlso:JInput}} | {{SeeAlso:JInput}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInput|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInput|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 62: | Line 65: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInput]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInput]]</noinclude> |
Revision as of 18:05, 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[edit]
Description[edit]
Template:Description:JInput [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __call | Magic method to get filtered input data. |
public | __construct | Constructor. |
public | __get | Magic method to get an input object. |
public | get | Gets a value from the input data. |
public | getArray | Gets an array of values from the request. |
public | getMethod | Gets the request method. |
public | set | Sets a value. |
- Defined in libraries/joomla/application/input.php
- Extended by
Importing[edit]
jimport( 'joomla.application.input' );
See also[edit]
- JInput source code on BitBucket
- Subpackage Application
- Other versions of JInput
Template:SeeAlso:JInput [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />