/wheels/events/onrequestend.cfm
http://cfwheels.googlecode.com/ · ColdFusion · 21 lines · 20 code · 1 blank · 0 comment · 5 complexity · 5c1e3e097a28182c6256871818d4daf9 MD5 · raw file
- <cffunction name="onRequestEnd" returntype="void" access="public" output="true">
- <cfargument name="targetpage" type="any" required="true">
- <cfscript>
- $simpleLock(execute="$runOnRequestEnd", executeArgs=arguments, name="wheelsReloadLock", type="readOnly", timeout=180);
- if (application.wheels.showDebugInformation && StructKeyExists(request.wheels, "showDebugInformation") && request.wheels.showDebugInformation)
- {
- $includeAndOutput(template="wheels/events/onrequestend/debug.cfm");
- }
- </cfscript>
- </cffunction>
-
- <cffunction name="$runOnRequestEnd" returntype="void" access="public" output="false">
- <cfargument name="targetpage" type="any" required="true">
- <cfscript>
- if (application.wheels.showDebugInformation)
- $debugPoint("requestEnd");
- $include(template="#application.wheels.eventPath#/onrequestend.cfm");
- if (application.wheels.showDebugInformation)
- $debugPoint("requestEnd,total");
- </cfscript>
- </cffunction>