getExpressionsFromDirectories()
Overview
public struct function getExpressionsFromDirectories(
required array directories
)
Reads all the expressions from an array of directories potentially containing handler CFC files and returns a structure whose keys are the IDs of expressions and whose values are the detailed configuration of the expression as defined in the handler CFC actions
Arguments
Name | Type | Required | Description |
---|---|---|---|
directories | array | Yes | array of mapped path to the directory, e.g. [ "/preside/system/handlers/rules/expressions", "/app/handlers/rules/expressions" ] |