Solar_Filter::applyChain()
public
bool
Solar_Filter::applyChain
( array $$data
)
Applies the filter chain to an array of data in-place.
Parameters
(array)
&$data
: A reference to the data to be filtered; sanitizing methods will be applied to the data directly, so the data is modified in-place.
Returns
(bool) True if all elements were validated, and all required keys were present and non-blank; false if not validated or a key was missing or blank.
Description
Applies the filter chain to an array of data in-place.