Changeset 1973 for framework/1-8-0/trunk/framework/AppManager.cfc
- Timestamp:
- 11/21/2009 12:01:15 PM (4 months ago)
- Files:
-
- 1 modified
-
framework/1-8-0/trunk/framework/AppManager.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/1-8-0/trunk/framework/AppManager.cfc
r1972 r1973 305 305 hint="Sets the AppLoader instance."> 306 306 <cfargument name="appLoader" type="MachII.framework.AppLoader" required="true" /> 307 <cfif NOT inModule()> 308 <cfset application[getAppKey()].appLoader = arguments.appLoader /> 309 <cfelse> 310 <cfset application[getAppKey()]["appLoader_" &getModuleName()] = arguments.appLoader /> 311 </cfif> 307 <cfset variables.appLoader = arguments.appLoader /> 312 308 </cffunction> 313 309 <cffunction name="getAppLoader" access="public" returntype="MachII.framework.AppLoader" output="false" 314 310 hint="Returns the AppLoader instance."> 315 <cfif NOT inModule()> 316 <cfreturn application[getAppKey()].appLoader /> 317 <cfelse> 318 <cfreturn application[getAppKey()]["appLoader_" &getModuleName()] /> 319 </cfif> 311 <cfreturn variables.appLoader /> 320 312 </cffunction> 321 313
