|
Previous Page |
Solar_Filter |
Next Page |
applyChain()
public
bool
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.
Local
- Overview
- Constants
- Properties
- Methods
- __call()
- __construct()
- __destruct()
- _chainLocale()
- _exception()
- _setup()
- addChainFilter()
- addChainFilters()
- addFilterClass()
- apiVersion()
- applyChain()
- dump()
- getChainInvalid()
- getData()
- getDataKey()
- getFilter()
- getFilterClass()
- getRequire()
- locale()
- newFilter()
- resetChain()
- setChainLocaleObject()
- setChainRequire()
- setData()
- setFilterClass()
- setRequire()