Previous Page
Properties

Solar_Filter
Methods

Next Page
__call()

Methods

Public

__call()
Magic call to filter methods represented as classes.
__construct()
Constructor.
__destruct()
Call this method before you unset() this instance to fully recover memory from circular-referenced objects.
addChainFilter()
Adds one filter-chain method for a data key.
addChainFilters()
Adds many filter-chain methods for a data key.
addFilterClass()
Add to the filter class stack.
apiVersion()
Reports the API version for this class.
applyChain()
Applies the filter chain to an array of data in-place.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
getChainInvalid()
Gets the list of invalid keys and feedback messages from the filter chain.
getData()
Gets a copy of the data array, or a specific element of data, being processed by applyChain().
getDataKey()
Gets the current data key being processed by the filter chain.
getFilter()
Gets the stored filter object by method name.
getFilterClass()
Returns the filter class stack.
getRequire()
Returns the value of the 'require' flag.
locale()
Looks up class-specific locale strings based on a key.
newFilter()
Creates a new filter object by method name.
resetChain()
Resets the filter chain and required keys.
setChainLocaleObject()
Sets the object used for getting locale() translations during applyChain().
setChainRequire()
Sets whether or not a particular data key is required to be present and non-blank in the data being processed by applyChain().
setData()
Sets one data element being processed by applyChain().
setFilterClass()
Reset the filter class stack.
setRequire()
Sets the value of the 'require' flag.

Protected

_chainLocale()
Uses the chain locale object to get translations before falling back to this object for locale.
_exception()
Convenience method for returning exceptions with localized text.
_setup()
Allows specialized setup for extended classes.

Private

None.