User manual MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML

Lastmanuals offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets... DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Lastmanuals provides you a fast and easy access to the user manual MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML. We hope that this MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML user guide will be useful to you.

Lastmanuals help download the user guide MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML.


Mode d'emploi MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML
Download
Manual abstract: user guide MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML

Detailed instructions for use are in the User's Guide.

[. . . ] PostScript is a trademark of Adobe Systems Inc. Part number: AA-45QKR-RK Allaire Corporation Contents CFML Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CFML Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Array functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Date and time functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Decision functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Display and formatting functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Dynamic evaluation functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Format conversion functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 List functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 International functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Query functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 String functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Structure functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 System functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Other functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 ColdFusion Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Variable scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Client variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Server variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Application and session variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Custom tag variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Request variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Form variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 ColdFusion Tag-Specific Variables . . . . . . . . . . . . . . . . . . . [. . . ] Add code here <CFCATCH TYPE="exceptiontype"> . . . Add exception processing code here </CFCATCH> . . . Additional CFCATCH blocks go here </CFTRY> CFUPDATE <CFUPDATE DATASOURCE="ds_name" DBTYPE="type" DBSERVER="dbms" DBNAME="database name" TABLENAME="table_name" TABLEOWNER="name" TABLEQUALIFIER="qualifier" USERNAME="username" PASSWORD="password" PROVIDER="COMProvider" PROVIDERDSN="datasource" FORMFIELDS="field_names"> CFWDDX <CFWDDX ACTION="action" INPUT="inputdata" OUTPUT="resultvariablename" TOPLEVELVARIABLE="toplevelvariablenameforjavascript" USETIMEZONEINFO="Yes" or "No"> Quick Reference to CFML 11 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, value) ArrayResize(array, minimum_size) ArraySet(array, start_pos, end_pos, value) ArraySort(array, sort_type [, sort_order ]) ArraySum(array) ArraySwap(array, position1, position2) ArrayToList(array [, delimiter ]) IsArray(value [, number ]) ListToArray(list [, delimiter ]) Date and time functions CreateDate(year, month, day) CreateDateTime(year, month, day, hour, minute, second) CreateODBCDate(date) CreateODBCDateTime(date) CreateODBCTime(date) CreateTime(hour, minute, second) CreateTimeSpan(days, hours, minutes, seconds) DateAdd(datepart, number, date) DateCompare(date1, date2 [, datePart]) DateConvert(conversion-type, date) DateDiff(datepart, date1, date2) DateFormat(date [, mask ]) DatePart(datepart, date) Day(date) DayOfWeek(date) DayOfWeekAsString(day_of_week) DayOfYear(date) DaysInMonth(date) Hour(date) IsDate(string) IsLeapYear(year) IsNumericDate(number) LSParseDateTime(date-time-string) Minute(date) Month(date) MonthAsString(month_number) Now() ParseDateTime(date-time-string [, pop-conversion ] ) Quarter(date) Second(date) Week(date) Year(date) 12 Quick Reference to CFML Decision functions IsArray(value [, number ]) IsAuthenticated([security-context-name ]) IsAuthorized(resourcetype, resourcename [, action ]) IsBinary(value) IsBoolean(value) IsDate(string) IsDebugMode() IsDefined("variable_name") IsLeapYear(year) IsNumeric(string) IsNumericDate(number) IsQuery(value) IsSimpleValue(value) IsStruct(variable ) LSIsCurrency(string) LSIsDate(string) LSIsNumeric(string) Display and formatting functions DateFormat(date [, mask ]) DecimalFormat(number) DollarFormat(number) FormatBaseN(number, radix) HTMLCodeFormat(string [, version ]) HTMLEditFormat(string [, version ]) LSCurrencyFormat(number [, type ]) LSDateFormat(date [, mask ]) LSEuroCurrencyFormat(currency-number [, type ]) LSNumberFormat(number [, mask ]) LSTimeFormat(time [, mask ]) NumberFormat(number [, mask ]) ParagraphFormat(string) PreserveSingleQuotes(variable) TimeFormat(time [, mask ]) URLEncodedFormat(string) YesNoFormat(value) Dynamic evaluation functions DE(string) Evaluate(string_expression1 [, string_expression2 [, . . . ] ] ) IIf(condition, string_expression1, string_expression2) SetVariable(name, value) Format conversion functions JSStringFormat(string) ToBase64(string or binary_object) ToBinary(string_in_Base64 or binary_value) URLDecode(URL_encoded_string) URLEncodedFormat(string) ToString(any_value) XMLFormat(string) Quick Reference to CFML 13 List functions ArrayToList(array [, delimiter ]) ListAppend(list, value [, delimiters ]) ListChangeDelims(list, new_delimiter [, delimiters ]) ListContains(list, substring [, delimiters ]) ListContainsNoCase(list, substring [, delimiters ]) ListDeleteAt(list, position [, delimiters ]) ListFind(list, value [, delimiters ]) ListFindNoCase(list, value [, delimiters ]) ListFirst(list [, delimiters ]) ListGetAt(list, position [, delimiters ]) ListInsertAt(list, position, value [, delimiters ]) 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_order] [, delimiter ]) ListToArray(list [, delimiter ]) ListValueCount(list, value [, delimiters ]) ListValueCountNoCase(list, value [, delimiters ]) International functions DateConvert(conversion-type, date) GetLocale() GetTimeZoneInfo() LSCurrencyFormat(number [, type ]) LSDateFormat(date [, mask ]) LSEuroCurrencyFormat(currency-number [, type ]) LSIsCurrency(string) LSNumberFormat(number [, mask ]) LSParseCurrency(string) LSParseDateTime(string) LSParseEuroCurrency(currency-string) LSParseNumber(string) LSTimeFormat(time [, mask ]) SetLocale(new_locale) Mathematical functions Abs(number) ACos(number) ASin(number) Atn(number) BitAnd(number1, number2) BitMaskClear(number, start, length) BitMaskRead(number, start, length) BitMaskSet(number, mask, start, length) BitNot(number) BitOr(number1, number2) BitSHLN(number, count) BitSHRN(number, count) BitXor(number1, number2) Ceiling(number) Cos(number) 14 Quick Reference to CFML DecrementValue(number) Exp(number) Fix(number) IncrementValue(number) InputBaseN(string, radix) Int(number) Log(number) Log10(number) Max(number1, number2) Min(number1, number2) Pi() Rand() Randomize(number) RandRange(number1, number2) Round(number) Sgn(number) Sin(number) Sqr(number) Tan(number) Query functions IsQuery(value) QueryAddColumn(query, column-name, array-name) QueryAddRow(query [, number ]) QueryNew(columnlist) QuerySetCell(query, column_name, value [, row_number ]) QuotedValueList(query. column [, delimiter ]) ValueList(query. column [, delimiter ]) String functions Asc(string) Chr(number) Cjustify(string, length) Compare(string1, string2) CompareNoCase(string1, string2) DayOfWeekAsString(day_of_week) FormatBaseN(number, radix) Find(substring, string [, start ]) FindNoCase(substring, string [, start ]) FindOneOf(set, string [, start ]) GetToken(string, index [, delimiters ]) Insert(substring, string, position) JSStringFormat(string) LCase(string) Left(string, count) Len(string or binary_object) ListValueCount(list, value [, delimiters ]) ListValueCountNoCase(list, value [, delimiters ]) LJustify(string, length) LSParseCurrency(string) LSParseDateTime(date-time-string) LSParseEuroCurrency(currency-string) LSParseNumber(string) LTrim(string) Mid(string, start, count) MonthAsString(month_number) Quick Reference to CFML 15 ParseDateTime(string1 [, string2 ] ) REFind(reg_expression, string [, start ] [, returnsubexpressions ] ) REFindNoCase(reg_expression, string [, start ] [, returnsubexpressions ] ) RemoveChars(string, start, count) RepeatString(string, count) Replace(string, substring1, substring2 [, scope ]) ReplaceList(string, list1, list2) ReplaceNoCase(string, substring1, substring2 [, scope ]) REReplace(string, reg_expression, substring [, scope ]) REReplaceNoCase(string, reg_expression, substring [, scope ]) Reverse(string) Right(string, count) RJustify(string, length) RTrim(string) SpanExcluding(string, set) SpanIncluding(string, set) StripCR(string) ToString(any_value) Trim(string) UCase(string) Val(string) XMLFormat(string) Structure functions IsStruct(variable ) StructClear(structure) StructCopy(structure) StructCount(structure) StructDelete(structure, key [, indicatenotexisting ]) StructFind(structure, key) StructInsert(structure, key, value [, allowoverwrite ]) StructIsEmpty(structure) StructKeyArray(structure) StructKeyExists(structure, key) StructKeyList(structure [, delimiter]) StructNew() StructUpdate(structure, key, value) System functions DirectoryExists(absolute_path) ExpandPath(relative_path) FileExists(absolute_path) GetBaseTemplatePath() GetCurrentTemplatePath() GetDirectoryFromPath(path) GetFileFromPath(path) GetMetricData(monitor_name) GetProfileString(IniPath, Section, Entry) GetTempDirectory() GetTempFile(dir, prefix) GetTemplatePath() SetProfileString(IniPath, Section, Entry, Value) 16 Quick Reference to CFML Other functions AuthenticatedUser() AuthenticatedContext() CreateObject("COM", class or progid, "INPROC or LOCAL or REMOTE ", , servername) CreateObject("CORBA", filename or naming_context_name, IOR or naming_service, int_orb_args, ) CreateObject("JAVA", classname) CreateUUID() Decrypt(encrypted_string, key) DeleteClientVariable("name") Encrypt(string, key) GetBaseTagData(tagname [, instancenumber ] ) GetBaseTagList() GetClientVariablesList() GetFunctionList() GetTickCount() ParameterExists(parameter) PreserveSingleQuotes(variable) URLDecode(URL_encoded_string) URLEncodedFormat(string) WriteOutput(string) XMLFormat(string) Deprecated. 17 Quick Reference to CFML ColdFusion Variables ColdFusion returns a wide variety of variables, such as those returned in a CFDIRECTORY or CFFTP operation. Variables are usually referenced by "scoping" the variable according to its type, as in Session. varname, or Application. varname. Variable scope ColdFusion supports the Variables scope. Unscoped variables created with the CFSET tag acquire the Variables scope by default. For example, the variable created by: <CFSET linguist = Chomsky> can be referenced as: #Variables. linguist# Client variables These client variables are read-only. Client. CFID Client. CFToken Client. HitCount Client. LastVisit Client. TimeCreated Client. URLToken Server variables Use the Server. prefix to reference server variables: Server. ColdFusion. ProductName Server. ColdFusion. ProductVersion Server. ColdFusion. ProductLevel Server. ColdFusion. SerialNumber Server. ColdFusion. SupportedLocales Server. OS. Name Server. OS. AdditionalInformation Server. OS. Version Server. OS. BuildNumber Application and session variables Use CFAPPLICATION to enable application and session variables. They are referenced as: Application. myvariable Session. myvariable Use CFLOCK to ensure that modifications to shared data occur one after another. See CFML Language Reference description of CFLOCK for details. The predefined application and session variables are: Application. ApplicationName Session. CFID Session. CFToken Session. URLToken 18 Quick Reference to CFML Custom tag variables Any ColdFusion custom tag returns the following variables: ThisTag. ExecutionMode ThisTag. HasEndTag ThisTag. GeneratedContent ThisTag. AssocAttribs[index] A custom tag can also set a Caller variable to provide information to the caller. The Caller variable is set as follows: <CFSET Caller. variable_name = "value"> The calling page can access the variable with the <CFOUTPUT> tag: <CFOUTPUT>#Caller. variable_name#</CFOUTPUT> Request variable Request variables store data that pertains to the processing of a single page request. Request variables allow you to store data in a structure that can be passed to nested tags, such as Custom Tags, and processed once. Set a Request variable to provide information to nested tags. The Request variable is set as follows: <CFSET Request. field_name1 = "value"> <CFSET Request. field_name2 = "value"> <CFSET Request. field_name3 = "value"> . . . Each nested tag can access the variable with the <CFOUTPUT> tag: <CFOUTPUT>#Request. field_name1#</CFOUTPUT> Form variable ColdFusion supports the Form variable FieldNames. FieldNames returns the names of the fields on a form. You can use it on the action page associated with a form. Form. FieldNames Quick Reference to CFML 19 ColdFusion Tag-Specific Variables A number of ColdFusion tags return data as variables. For example, the CFFILE tag returns file size information in the FileSize variable, referenced as CFFILE. FileSize. The following tags return data that can be referenced in variables: · CFCATCH · CFDIRECTORY · CFERROR · CFFILE · CFFTP · CFHTTP · CFINDEX · CFLDAP · CFMAIL · CFPOP · CFQUERY · CFREGISTRY · CFSEARCH · CFSERVLET · CFSTOREDPROC ColdFusion query variables Any ColdFusion tag that returns a query object supports the following variables: queryname. CurrentRow queryname. RecordCount queryname. ColumnList Where queryname is the value of the NAME attribute in each tag. CFCATCH variables Within a CFCATCH block, the properties of the active exception can be accessed as variables: CFCATCH. Type CFCATCH. Message CFCATCH. Detail CFCATCH. ErrNumber CFCATCH. NativeErrorCode CFCATCH. SQLState CFCATCH. LockName CFCATCH. LockOperation CFCATCH. MissingFileName CFCATCH. TagContext CFCATCH. ErrNumber CFCATCH. ErrorCode CFCATCH. ExtendedInfo 20 Quick Reference to CFML CFDIRECTORY variables When used with ACTION=LIST, CFDIRECTORY returns a query object. [. . . ] 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, servletResponseHeader is a key, which is the name of the response header set in the servlet: CFSERVLET. servletResponseHeader 24 Quick Reference to CFML Standard CGI Variables This is a list of CGI 1. 1 variables many Web servers create when a CGI script is called. NOTE: The CGI variables that are available for your use vary with the Web server and configuration. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML

Lastmanuals offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets...
In any way can't Lastmanuals be held responsible if the document you are looking for is not available, incomplete, in a different language than yours, or if the model or language do not match the description. Lastmanuals, for instance, does not offer a translation service.

Click on "Download the user manual" at the end of this Contract if you accept its terms, the downloading of the manual MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML will begin.

Search for a user manual

 

Copyright © 2015 - LastManuals - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.

flag