API17

JInput: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JInput==
=={{JVer|11.1}} JInput==
===Description===
===Description===
{{Description:JInput}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JInput|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 14: Line 12:
|-
|-
|public  
|public  
|[[JInput::__call/11.1|__call]]
|[[API17:JInput::__call|__call]]
|Magic method to get filtered input data.  
|Magic method to get filtered input data.  
|-
|-
|public  
|public  
|[[JInput::__construct/11.1|__construct]]
|[[API17:JInput::__construct|__construct]]
|Constructor.  
|Constructor.  
|-
|-
|public  
|public  
|[[JInput::__get/11.1|__get]]
|[[API17:JInput::__get|__get]]
|Magic method to get an input object.  
|Magic method to get an input object.  
|-
|-
|public  
|public  
|[[JInput::get/11.1|get]]
|[[API17:JInput::get|get]]
|Gets a value from the input data.  
|Gets a value from the input data.  
|-
|-
|public  
|public  
|[[JInput::getArray/11.1|getArray]]
|[[API17:JInput::getArray|getArray]]
|Gets an array of values from the request.  
|Gets an array of values from the request.  
|-
|-
|public  
|public  
|[[JInput::getMethod/11.1|getMethod]]
|[[API17:JInput::getMethod|getMethod]]
|Gets the request method.  
|Gets the request method.  
|-
|-
|public  
|public  
|[[JInput::set/11.1|set]]
|[[API17:JInput::set|set]]
|Sets a value.  
|Sets a value.  
|-
|-
Line 44: Line 42:
* '''Defined in''' libraries/joomla/application/input.php
* '''Defined in''' libraries/joomla/application/input.php
* '''Extended by'''
* '''Extended by'''
** [[JInputCLI/11.1|JInputCLI]]
** [[API17:JInputCLI|JInputCLI]]
** [[JInputCookie/11.1|JInputCookie]]
** [[API17:JInputCookie|JInputCookie]]
** [[JInputFiles/11.1|JInputFiles]]
** [[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}} '''JInput source code''' on [[jplatform:application/input.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Application/11.1|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* [[JInput|Other versions of JInput]]
* [[API17:JInput|Other versions of JInput]]
{{SeeAlso:JInput}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInput|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
See [[API17:JInput_Background_for_Joomla_Platform]]
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JInput
category=JInput
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*
Line 68: Line 65:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInput]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:15, 25 March 2017

Joomla 11.1 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.

Importing

jimport( 'joomla.application.input' );

See also


User contributed notes

See API17:JInput_Background_for_Joomla_Platform

Code Examples