Actions

API17

Difference between revisions of "JInput"

From Joomla! Documentation

(Layout updates)
m (User contributed notes: bad link repair)
(2 intermediate revisions by 2 users not shown)
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===
 +
See [[JInput_Background_for_Joomla_Platform]]
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: Line 66:
 
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 JClasses]][[Category:Platform 11.1]][[Category:JInput]]</noinclude>

Revision as of 13:53, 29 August 2012

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JInput

Description

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

SeeAlso:JInput [Edit See Also]

User contributed notes

See JInput_Background_for_Joomla_Platform <CodeExamplesForm />