Return to v2.5.0 docs

filterChain()


Controller Configuration Functions array controller


Returns an array of all the filters set on current controller in the order in which they will be executed.

Name Type Required Default Description
type string No all Use this argument to return only before or after filters.
// Get filter chain.
myFilterChain = filterChain();

// Get filter chain for after filters only.
myFilterChain = filterChain(type="after");

Related Functions

Configuration Functions