CFML Quick Reference
15
cfobjectcache
<cfobjectcache
action = "clear">
cfoutput
<cfoutput
query = "query_name"
group = "query_column"
groupCaseSensitive = "Yes" or "No"
startRow = "start_row"
maxRows = "max_rows_output">
</cfoutput>
cfparam
<cfparam
name = "param_name"
type = "data_type"
default = "value">
cfpop
<cfpop
server = "servername"
port = "port_number"
username = "username"
password = "password"
action = "action"
name = "queryname"
messageNumber = "number"
uid = "number"
attachmentPath = "path"
timeout = "seconds"
maxRows = "number"
startRow = "number"
generateUniqueFilenames = "boolean">
cfprocessingdirective
<cfprocessingdirective
pageencoding = "page-encoding literal string" /
>
OR
<cfprocessingdirective
suppressWhiteSpace = "Yes" or "No"
pageEncoding = "page-encoding literal string"
>
CFML tags
</cfprocessingdirective>
cfprocparam
<cfprocparam
type = "in" or "out" or "inout"
variable = "variable name"
value = "parameter value"
CFSQLType = "parameter datatype"
maxLength = "length"
scale = "decimal places"
null = "Yes" or "No">
cfprocresult
<cfprocresult
name = "query_name"
resultSet = "1-n"
maxRows = "maxrows">
cfproperty
<cfproperty
name="name"
type="type"
required="boolean"
default="default value"
displayname="descriptive name"
hint="extended description">
cfquery
<cfquery
name = "query_name"
dataSource = "ds_name"
dbtype = "query"
username = "username"
password = "password"
maxRows = "number"
blockFactor = "blocksize"
timeout = "seconds"
cachedAfter = "date"
cachedWithin = "timespan"
Either of the following:
debug = "Yes" or "No"