getContextObject()

Overview

public any function getContextObject(
      required string  context             
    ,          boolean includeChildContexts = false
)

Returns the configured object(s) (if any) for the given context

Arguments

NameTypeRequiredDescription
contextstringYesID of the context whose configured object you wish to get
includeChildContextsbooleanNo (default=false)Whether or not to include child contexts - returns an array if true, a string if false