24
Quick Reference to CFML
CFQUERY and CFSTOREDPROC variables
In addition to returning data from a ColdFusion data source,
the CFQUERY tag also returns information about the query:
CFQUERY.ExecutionTime
CFQUERY also uses the name of the query to scope data
about the query:
queryname
.CurrentRow
queryname
.RecordCount
queryname
.ColumnList
The CFSTOREDPROC tag also returns:
CFSTOREDPROC.ExecutionTime
CFSTOREDPROC.StatusCode
CFREGISTRY variables
The CFREGISTRY tag returns a query record set that you can
reference after executing the GetAll action. Queryname is
the value of the NAME attribute used in the CFREGISTRY
operation.
queryname
.Entry
queryname
.Type
queryname
.Value
CFSEARCH variables
Every CFSEARCH operation returns the following variables.
Searchname is the value of the NAME attribute used in the
CFSEARCH operation.
searchname
.URL
searchname
.Key
searchname
.Title
searchname
.Score
searchname
.Custom1 and Custom2
searchname
.Summary
searchname
.RecordCount
searchname
.CurrentRow
searchname
.RecordsSearched
searchname
.ColumnList
CFSERVLET variables
If the WRITEOUTPUT attribute is NO, CFSERVLET returns the
text output of the servlet in the following variable:
CFSERVLET.Output
If the servlet returns any response headers, they are in the
CFSERVLET return structure. Each response header can be
accessed through a key. In the following syntax, servletRe-
sponseHeader is a key, which is the name of the response
header set in the servlet:
CFSERVLET.
servletResponseHeader
Содержание COLDFUSION 4.5- TO CFML
Страница 33: ...30 Quick Reference to CFML...