\JInput
Joomla! Input Base Class
This is an abstracted input class used to manage retrieving data from the application environment.
Synopsis
class JInput
implements
Serializable,Countable
{
- // methods
- public void __construct()
- public JInput __get()
- public integer count()
- public mixed get()
- public mixed getArray()
- public void set()
- public void def()
- public mixed __call()
- public string getMethod()
- public string serialize()
- public JInput unserialize()
- protected void loadAllInputs()
Hierarchy
Extended by
Implements
Members
protected
- $data
—
array
Input data. - $filter
—
JFilterInput
Filter object to use. - $inputs
—
array
Input objects - $options
—
array
Options array for the JInput instance.
Methods
protected
- loadAllInputs() — Method to load all of the global inputs.
public
- __construct() — Constructor.
- __call() — Magic method to get filtered input data.
- __get() — Magic method to get an input object
- count() — Get the number of variables.
- def() — Define a value. The value will only be set if there's no value for the name or if it is null.
- get() — Gets a value from the input data.
- getArray() — Gets an array of values from the request.
- getMethod() — Gets the request method.
- serialize() — Method to serialize the input.
- set() — Sets a value
- unserialize() — Method to unserialize the input.