Previous Page
apiVersion()

Solar_Sql_Model_Filter
applyChain()

Next Page
dump()

applyChain()

public bool applyChain ( array &$data )

Applies the filter chain to an array of data in-place.

Inherited from Solar_Filter.

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.