\FOFInput
FrameworkOnFramework input handling class. Extends upon the JInput class.
Synopsis
class FOFInput
extends JInput
{
- // Inherited members from JInput
- protected $options;
- protected JFilterInput $filter;
- protected $data;
- protected $inputs;
- // methods
- public void __construct()
- public mixed get()
- public array getData()
- public static mixed __callStatic()
- public boolean __call()
- public static string setVar()
- protected mixed _cleanVar()
- // Inherited methods from JInput
- 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
Extends
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
- _cleanVar() — Custom filter implementation. Works better with arrays and allows the use of a filter mask.
public
- __construct() — Public constructor. Overriden to allow specifying the global input array to use as a string and instantiate from an objetc holding variables.
- __call() — Magic method to get filtered input data.
- __callStatic() — Old static methods are now deprecated. This magic method makes sure there is a continuity in our approach. The downside is that it's only compatible with PHP 5.3.0. Sorry!
- get() — Gets a value from the input data. Overriden to allow specifying a filter mask.
- getData() — Returns a copy of the raw data stored in the class
- setVar() — Sets an input variable. WARNING: IT SHOULD NO LONGER BE USED!
Inherited from JInput
protected
- loadAllInputs() — Method to load all of the global inputs.
public
- __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.