Cfml quick reference.
Trademarks afterburner, appletace, attain, attain enterprise learning system, attain essentials, attain objects for dreamweaver, authorware, authorware attain, authorware interactive studio, authorware star, authorware synergy, backstage, backstage designer, backstage desktop studio, backstage enter...
Cfml quick reference 3 contents cfml tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 cfml functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 array functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 authentic...
4 cfml quick reference standard cgi variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 client . . . . . ....
Cfml quick reference 5 cfml tags cfabort showerror = "error_message"> cfapplet appletsource = "applet_name" name = "form_variable_name" height = "height_in_pixels" width = "width_in_pixels" vspace = "space_above_and_below_in_pixels" hspace = "space_on_each_side_in_pixels" align = "alignment_option" ...
6 cfml quick reference databackgroundcolor = "hex value or web color" showborder = "yes" or "no" font = "font name" fontsize = "integer font size" fontbold = "yes" or "no" fontitalic = "yes" or "no" labelformat = "number, currency, percent, date" xaxistitle = "title text" yaxistitle = "title text" x...
Cfml quick reference 7 cfcookie name = "cookie_name" value = "text" expires = "period" secure = "yes" or "no" path = "url" domain = ".Domain"> cfdefaultcase cfdirectory action = "directory action" directory = "directory name" name = "query name" filter = "list filter" mode = "permission" sort = "sor...
8 cfml quick reference action = "move" source = "full_path_name" destination = "full_path_name" mode = "mode" attributes = "file_attributes_list" charset = "charset_option"> action = "read" file = "full_path_name" variable = "var_name" charset = "charset_option" > action = "readbinary" file = "full_...
Cfml quick reference 9 directory = "directory name" localfile = "filename" remotefile = "filename" item = "directory or file" existing = "file or directory name" new = "file or directory name" proxyserver = "proxy server" passive = "yes" or "no"> cfftp action = "listdir" action = "listdir" action = ...
10 cfml quick reference cfgridcolumn name = "column_name" header = "header" width = "column_width" font = "column_font" fontsize = "size" italic = "yes" or "no" bold = "yes" or "no" textcolor = "web color" or "expression" bgcolor = "web color" or "expression" href = "url" hrefkey = "column_name" tar...
Cfml quick reference 11 delimiter = "character" textqualifier = "character"> cfhttpparam type = "transaction type" name = "data name" value = "data value" file = "filename" encoded = "yes or no" mimetype = "mime type designator"> cfif html and cfml tags html and cfml tags html and cfml tags cfimport...
12 cfml quick reference method = "method name" returnvariable = "variable name" argumentcollection = "argument collection" ...> or webservice = "urltowsdl_location" method = "operation_name" username = user name" password = "password" timeout = "request timeout in seconds" proxyserver = "wsdl proxy ...
Cfml quick reference 13 modifytype = "replace" or "add" or "delete" rebind = "yes" or "no" referral = "number_of_allowed_hops" secure = "multi_field_security_string" separator = "separator_character" delimiter = "delimiter_character"> cflocation url = "url" addtoken = "yes" or "no"> cflock timeout =...
14 cfml quick reference username = "user name" password = "password" wraptext = "column number" charset = "character encoding" type = "msg_type" mimeattach = "path" query = "query_name" group = "query_column" groupcasesensitive = "yes" or "no" startrow = "query_row" maxrows = "max_msgs" server = "se...
Cfml quick reference 15 cfobjectcache action = "clear"> cfoutput query = "query_name" group = "query_column" groupcasesensitive = "yes" or "no" startrow = "start_row" maxrows = "max_rows_output"> cfparam name = "param_name" type = "data_type" default = "value"> cfpop server = "servername" port = "po...
16 cfml quick reference or: debug > sql statement(s) cfqueryparam name = "query_name" datasource = "ds_name" ...Other attributes... Sql statement column_name = cfsqltype = "parameter type" maxlength = "maximum parameter length" scale = "number of decimal places" null = "yes" or "no" list = "yes" or ...
Cfml quick reference 17 interval = "seconds" requesttimeout = "seconds" username = "username" password = "password" proxyserver = "hostname" proxyport = "port_number"> proxyuser = "username" proxypassword = "password" resolveurl = "yes" or "no" action = "delete" task = "taskname"> action = "run" tas...
18 cfml quick reference font = "font_name" fontsize = "integer" italic = "yes" or "no" bold = "yes" or "no" notsupported = "text"> cfstoredproc procedure = "procedure name" datasource = "ds_name" username = "username" password = "password" blockfactor = "blocksize" debug = "yes" or "no" returncode =...
Cfml quick reference 19 cftransaction action = "begin" or "commit" or "rollback" isolation = "read_uncommitted" or "read_committed" or "repeatable_read" > action = "begin" or "commit" or "rollback" isolation = "read_uncommitted" or "read_committed" or "repeatable_read" > cftree required = "yes" or "...
20 cfml quick reference cfml functions array functions arrayappend(array, value) arrayavg ( array ) arrayclear ( array ) arraydeleteat(array, position) arrayinsertat(array, position, value) arrayisempty(array) arraylen(array) arraymax(array) arraymin(array) arraynew(dimension) arrayprepend(array, va...
Cfml quick reference 21 dayofweekasstring(fu) dayofyear("date") daysinmonth("date") daysinyear("date") firstdayofmonth(date) gethttptimestring(date_time_object) gettickcount() gettimezoneinfo() hour(date) isdate(string) isleapyear(year) isnumericdate(number) lsdateformat(date [, mask ]) lsisdate(str...
22 cfml quick reference structkeyexists(structure, "key") yesnoformat(value) display and formatting functions cjustify(string, length) dateformat("date" [, "mask" ]) decimalformat(number) dollarformat(number) formatbasen(number, radix) getlocale() htmlcodeformat(string [, version ]) htmleditformat(s...
Cfml quick reference 23 full-text search functions coldfusion mx 6.1: these functions are deprecated. They might not work, and might cause errors, in a future release. Getk2serverdoccount() getk2serverdoccountlimit() isk2serverabroker() isk2serverdoccountexceeded() isk2serveronline() international f...
24 cfml quick reference listlast(list [, delimiters ]) listlen(list [, delimiters ]) listprepend(list, value [, delimiters ]) listqualify(list, qualifier [, delimiters ] [, elements ]) listrest(list [, delimiters ]) listsetat(list, position, value [, delimiters ]) listsort(list, sort_type [, sort_or...
Cfml quick reference 25 getbasetagdata(tagname [, instancenumber ] ) getbasetaglist() getbasetemplatepath() getclientvariableslist() gettickcount() hash(string) preservesinglequotes(variable) quotedvaluelist(query.Column [, delimiter ]) stripcr(string) tobase64(string or binary_object [, encoding ])...
26 cfml quick reference ljustify(string, length) listvaluecount(list, value [, delimiters ]) listvaluecountnocase ( list , value [, delimiters ]) lsiscurrency(string) lsisdate(string) lsisnumeric(string) lsparsecurrency(string) lsparsedatetime(date/time-string) lsparseeurocurrency(currency-string) l...
Cfml quick reference 27 structinsert(structure, key, value [, allowoverwrite ]) structisempty(structure) structkeyarray(structure) structkeyexists(structure, "key") structkeylist(structure [, delimiter]) structnew() structsort(base, sorttype, sortorder, pathtosubelement) structupdate(structure, key,...
28 cfml quick reference coldfusion variables coldfusion mx returns variables, such as those returned in a cfdirectory or cfftp operation. A variable is usually referenced by scoping it according to its type: naming it according to the code context in which it is available; for example, session.Varna...
Cfml quick reference 29 custom tag variables a coldfusion custom tag returns the following variables: thistag.Executionmode thistag.Hasendtag thistag.Generatedcontent thistag.Assocattribs[index] a custom tag can set a caller variable to provide information to the caller. The caller variable is set a...
30 cfml quick reference queryname.Currentrow queryname.Recordcount queryname.Columnlist cfcatch variables within a cfcatch block, the active exception properties can be accessed as the following variables: cfcatch.Type cfcatch.Message cfcatch.Detail cfcatch.Errnumber cfcatch.Nativeerrorcode cfcatch....
Cfml quick reference 31 note: you can substitute the prefix cferror for error, if type = "exception" or "monitor"; for example, cferror.Diagnostics, cferror.Mailto or cferror.Datetime. Cffile action=upload variables file variables are read-only. Use the cffile prefix to reference file variables; for...
32 cfml quick reference cfhttp variables a cfhttp get operation can return text and binary files. Files are downloaded and the contents stored in a variable or file, depending on the mime type, as follows: cfhttp.Filecontent cfhttp.Mimetype cfhttp.Header cfhttp.Responseheader[http_hd_key] cfhttp.Sta...
Cfml quick reference 33 searchname.Title searchname.Score searchname.Custom1 and custom2 searchname.Summary searchname.Recordcount searchname.Currentrow searchname.Recordssearched searchname.Columnlist standard cgi variables this section lists the cgi 1.1 variables that some web servers create when ...
34 cfml quick reference.