JInput: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JInput== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JInput::__call | |public | ||
|[[API17:JInput::__call|__call]] | |||
|Magic method to get filtered input data. | |Magic method to get filtered input data. | ||
|- | |- | ||
|[[JInput::__construct | |public | ||
|[[API17:JInput::__construct|__construct]] | |||
|Constructor. | |Constructor. | ||
|- | |- | ||
|[[JInput::__get | |public | ||
|[[API17:JInput::__get|__get]] | |||
|Magic method to get an input object. | |Magic method to get an input object. | ||
|- | |- | ||
|[[JInput::get | |public | ||
|[[API17:JInput::get|get]] | |||
|Gets a value from the input data. | |Gets a value from the input data. | ||
|- | |- | ||
|[[JInput::getArray | |public | ||
|[[API17:JInput::getArray|getArray]] | |||
|Gets an array of values from the request. | |Gets an array of values from the request. | ||
|- | |- | ||
|[[JInput::getMethod | |public | ||
|[[API17:JInput::getMethod|getMethod]] | |||
|Gets the request method. | |Gets the request method. | ||
|- | |- | ||
|[[JInput::set | |public | ||
|[[API17:JInput::set|set]] | |||
|Sets a value. | |Sets a value. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/application/input.php | |||
* '''Extended by''' | |||
** [[API17:JInputCLI|JInputCLI]] | |||
** [[API17:JInputCookie|JInputCookie]] | |||
** [[API17:JInputFiles|JInputFiles]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.input' );</source> | <source lang="php">jimport( 'joomla.application.input' );</source> | ||
===See also=== | ===See also=== | ||
* [[ | * {{JVer|11.1}} '''JInput source code''' on [[jplatform:application/input.php|BitBucket]] | ||
{{ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]] | ||
* [[API17:JInput|Other versions of JInput]] | |||
===Examples=== | ===User contributed notes=== | ||
See [[API17:JInput_Background_for_Joomla_Platform]] | |||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInput | category=JInput | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:15, 25 March 2017
JInput
Description
Methods
| 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
jimport( 'joomla.application.input' );
See also
JInput source code on BitBucket
Subpackage Application- Other versions of JInput
User contributed notes
See API17:JInput_Background_for_Joomla_Platform
Code Examples