CFML Quick Reference
7
cfcollection
<cfcollection
action = "action"
collection = "collection_name"
path = "path_to_verity_collection"
language = "language"
name = "queryname"
categories = "yes" or "no">
cfcomponent
<cfcomponent
extends ="anotherComponent"
output = "yes" or "no"
style = "rpc" or "document"
namespace = "default service namespace"
serviceportname = "port element name"
porttypename = "porttype element name"
bindingname = "binding element name"
wsdlfile = "path to hard-coded wsdl file"
displayname = "text string">
hint = "text string">
Variable declarations
<cffunction ...>
...
</cffunction>
<cffunction ...>
...
</cffunction>
</cfcomponent>
cfcontent
<cfcontent
type = "file_type"
deleteFile = "yes" or "no"
file = "filename"
variable = "variablename"
reset = "yes" or "no">
cfcookie
<cfcookie
name = "cookie_name"
value = "text"
expires = "period"
secure = "yes" or "no"
path = "url"
domain = ".domain">
cfdefaultcase
<cfdefaultcase>
cfdirectory
<cfdirectory
action = "directory action"
directory = "directory name"
name = "query name"
filter = "list filter"
mode = "permission"
sort = "sort specification"
newDirectory = "new directory name"
recurse = "yes" or "no">
cfdocument
<cfdocument
format = "PDF" or "FlashPaper"
filename = "filename"
overwrite = "yes" or "no"
name = "output variable name"
pagetype = "page type"
pageheight = "page height in inches"
pagewidth = "page width in inches"
orientation = "portrait/landscape"
margintop = "number"
marginbottom = "number"
marginleft = "number"
marginright = "number"
unit = "in" or "cm"
encryption = "128-bit" or "40-bit" or "none"
ownerpassword = "password"
userpassword = "password"
permissions = "permission list"
fontembed = "yes" or "no"
backgroundvisible = "yes" or "no"
scale = "percentage less than 100">