Skip to content

Miscellaneous

filterChain()

filterChain() — returns any

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

NameTypeRequiredDefaultDescription
typestringyesallUse 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");