|
Fusebox
|
FuseboxContext is a singleton created by Fusebox on each request. FuseboxContext gives code called outside of fusebox, generally calls directly to a CFC, to execute something in the context of Fusebox. Usage: In the above example a method in the CFC gets a handle on the FuseboxContext by instantiating it then it has one of its own methods "getFuseboxInfo" excuted as though it was being executed in Fusebox, like a fuseaction essentially. The FuseboxContext will pass in myFusebox, as well as event, thus giving the CFC access to all Fusebox Application data and the ability to execute dynamic do's. |
Add Comment