I am trying to get a list or something similar of all modules which are running under our application. I found that there is a getLoadedModules() function but can’t seem to get it to work. Any suggestions? Thanks!
Check out the cbdebugger module, which is a development tool. It has a list of modules along with a way to reload, activate etc them. You can check out the code. It’s all based on the moduleService API.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Thanks… I just found a way by injecting coldbox:setting:modules into my model to get the names