wsGetAllChannels

Provides all the channels defined in the Application.cfc as an array.

wsGetAllChannels (); wsGetAllChannels('channelName'); → returns array

This function requires Adobe ColdFusion 10 and up.  Not supported on Lucee, etc.

wsGetAllChannels Argument Reference

channelName string

If specified, returns all sub-channels listed under the entered channel name. If left unspecified, the function returns all channels registered under the current application.

Examples
Sample code invoking the wsGetAllChannels function


Fork me on GitHub