API17

JInput: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
{{Description:JInput}}
===Defined in===
libraries/joomla/application/input.php
* see source code in [[jplatform:application/input.php|BitBucket]]
===Subpackage===
[[Subpackage Application/11.1|Application]]
===Extends===
===Extended by===
* [[JInputCLI/11.1|JInputCLI]]
* [[JInputCookie/11.1|JInputCookie]]
* [[JInputFiles/11.1|JInputFiles]]
===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.  
|-
|[[JInput::register/11.1|register]]
|Method to register all of the extended classes with the system autoloader.
|-
|-
|}
|}
* '''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 in [[jplatform:application/input.php|BitBucket]]
* {{JVer|11.1}} '''JInput source code''' on [[jplatform:application/input.php|BitBucket]]
* [[JInput|Other versions of this class]]
* {{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>
===Examples===
===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 23:05, 27 April 2011

Joomla 11.1 JInput

Description

Template:Description:JInput [Edit Descripton]

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

Template:SeeAlso:JInput [Edit See Also]

User contributed notes

<CodeExamplesForm />