|
50 | 50 | <cfset logger.saveLog(exception) />
|
51 | 51 | </cffunction>
|
52 | 52 |
|
53 |
| - <cffunction name="queryToArray" access="private" returntype="array" output="false"> |
| 53 | + <cffunction name="qToArray" access="private" returntype="array" output="false"> |
54 | 54 | <cfargument name="q" type="query" required="yes" />
|
55 | 55 | <cfargument name="cb" type="any" required="no" />
|
56 | 56 | <cfscript>
|
|
80 | 80 | </cfscript>
|
81 | 81 | </cffunction>
|
82 | 82 |
|
83 |
| - <cffunction name="queryToStruct" access="private" returntype="struct" output="false"> |
| 83 | + <cfif application._taffy.compat.queryToArray eq "missing"> |
| 84 | + <cffunction name="queryToArray" access="private" returntype="struct" output="false"> |
| 85 | + <cfargument name="q" type="query" required="yes" /> |
| 86 | + <cfargument name="cb" type="any" required="no" /> |
| 87 | + <cfreturn qToArray(arguments.q, arguments.cb) /> |
| 88 | + </cffunction> |
| 89 | + </cfif> |
| 90 | + |
| 91 | + <cffunction name="qToStruct" access="private" returntype="struct" output="false"> |
84 | 92 | <cfargument name="q" type="query" required="yes" />
|
85 | 93 | <cfargument name="cb" type="any" required="no" />
|
86 | 94 | <cfset var local = {} />
|
|
115 | 123 | </cfscript>
|
116 | 124 | </cffunction>
|
117 | 125 |
|
| 126 | + <cfif application._taffy.compat.queryToStruct eq "missing"> |
| 127 | + <cffunction name="queryToStruct" access="private" returntype="struct" output="false"> |
| 128 | + <cfargument name="q" type="query" required="yes" /> |
| 129 | + <cfargument name="cb" type="any" required="no" /> |
| 130 | + <cfreturn qToStruct(arguments.q, arguments.cb) /> |
| 131 | + </cffunction> |
| 132 | + </cfif> |
| 133 | + |
118 | 134 | <!---
|
119 | 135 | function that gets the representation class instance
|
120 | 136 | -- if the argument is blank, we use the default from taffy settings
|
|
132 | 148 | <cfreturn createObject("component", arguments.repClass) />
|
133 | 149 | </cfif>
|
134 | 150 | </cffunction>
|
135 |
| - |
| 151 | + |
136 | 152 | <cffunction name="addDebugData" access="package" output="false">
|
137 | 153 | <cfargument name="data" type="any" />
|
138 | 154 | <cfset request.debugData = arguments.data />
|
|
0 commit comments