CacheBox Namespace
Whenever your models need anything from the ColdBox application then you can leverage the coldbox:
namespace for injections.
1st Level DSL
| Description |
| Get the ColdBox controller reference |
2nd Level DSL
DSL | Description |
| Get a reference to the global application scheduler |
| Get a reference to the ColdBox Async Manager |
| Get the application's configuration structure |
| Get the framework's configuration structure |
| Get the ColdBox data marshaling reference |
| Get a reference to the application's flash scope object |
| Get a reference to the handler service |
| Get a reference to the interceptor service |
| Get a reference to the loader service |
| Get a reference to the ColdBox Module Service |
| Get a reference to the entire |
| Get the ColdBox rendering engine reference |
| Get a reference to the request service |
| Get a reference to the current request context object in the request. |
| Get a reference to the application global router.cfc |
| Get a reference to the Routing Service |
| Get a reference to the Scheduler Service |
3rd Level DSL
DSL | Description |
| |
| Inject the entire {module} settings structure |
| Inject the entire {module} configurations structure |
| Get a ColdBox setting {setting} and inject it |
| Get the ColdBox application {setting} setting and inject it |
| Get the ColdBox application {setting} from the {module} and inject it |
4th Level DSL
| Description |
| Get a module setting. Very similar to the 3rd level dsl |
Last updated