You are viewing documentation for v1.1.x. Change

filterChain()

Description

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

Function Syntax

filterChain([ type ])

Parameters

Parameter Type Required Default Description
type string No all Use this argument to return only before or after filters.

Examples

<!--- Get filter chain, remove the first item, and set it back --->
<cfset myFilterChain = filterChain()>
<cfset ArrayDeleteAt(myFilterChain, 1)>
<cfset setFilterChain(myFilterChain)>