Controller
filterChain()
Signature
Section titled “Signature”filterChain() — returns array
Available in: controller
Category: Configuration Functions
Description
Section titled “Description”Returns an array of all the filters set on current controller in the order in which they will be executed.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
type | string | no | all | Use this argument to return only before or after filters. |
Examples
Section titled “Examples”// Get filter chain. myFilterChain = filterChain(); // Get filter chain for after filters only. myFilterChain = filterChain(type="after");