background image

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 Enterprise Studio, Backstage Internet Studio, 
ColdFusion, Design in Motion, Director, Director Multimedia Studio, 
Doc Around the Clock, Dreamweaver, Dreamweaver Attain, Drumbeat, 
Drumbeat 2000, Extreme 3D, Fireworks, Flash, Fontographer, 
FreeHand, FreeHand Graphics Studio, Generator, Generator Developer's 
Studio, Generator Dynamic Graphics Server, JRun, Knowledge Objects, 
Knowledge Stream, Knowledge Track, Lingo, Live Effects, Macromedia, 
Macromedia M Logo & Design, Macromedia Flash, Macromedia Xres, 
Macromind, Macromind Action, MAGIC, Mediamaker, Object 
Authoring, Power Applets, Priority Access, Roundtrip HTML, Scriptlets, 
SoundEdit, ShockRave, Shockmachine, Shockwave, Shockwave Remote, 
Shockwave Internet Studio, Showcase, Tools to Power Your Ideas, 
Universal Media, Virtuoso, Web Design 101, Whirlwind and Xtra are 
trademarks of Macromedia, Inc. and may be registered in the United 
States or in other jurisdictions including internationally. Other product 
names, logos, designs, titles, words or phrases mentioned within this 
publication may be trademarks, servicemarks, or tradenames of 
Macromedia, Inc. or other entities and may be registered in certain 
jurisdictions including internationally.

This product includes code licensed from RSA Data Security.

This guide contains links to third-party websites that are not under the 
control of Macromedia, and Macromedia is not responsible for the 
content on any linked site. If you access a third-party website mentioned 
in this guide, then you do so at your own risk. Macromedia provides 
these links only as a convenience, and the inclusion of the link does not 
imply that Macromedia endorses or accepts any responsibility for the 
content on those third-party sites. 

Apple Disclaimer

APPLE COMPUTER, INC. MAKES NO WARRANTIES, EITHER EXPRESS 
OR IMPLIED, REGARDING THE ENCLOSED COMPUTER SOFTWARE 
PACKAGE, ITS MERCHANTABILITY OR ITS FITNESS FOR ANY 
PARTICULAR PURPOSE. THE EXCLUSION OF IMPLIED WARRANTIES 
IS NOT PERMITTED BY SOME STATES. THE ABOVE EXCLUSION MAY 
NOT APPLY TO YOU. THIS WARRANTY PROVIDES YOU WITH 
SPECIFIC LEGAL RIGHTS. THERE MAY BE OTHER RIGHTS THAT YOU 
MAY HAVE WHICH VARY FROM STATE TO STATE.

Copyright © 1999–2003 Macromedia, Inc. All rights reserved. This 
manual may not be copied, photocopied, reproduced, translated, or 
converted to any electronic or machine-readable form in whole or in part 
without prior written approval of Macromedia, Inc. 
Part number: ZCF61M400

Project Management: Randy Nielsen

Editing: Linda Adler

First Edition: May 2002
Second Edition: August 2003

Macromedia, Inc.
600 Townsend St.
San Francisco, CA 94103

Содержание COLDFUSION MX 61-CFML

Страница 1: ...CFML Quick Reference...

Страница 2: ...emarks or tradenames of Macromedia Inc or other entities and may be registered in certain jurisdictions including internationally This product includes code licensed from RSA Data Security This guide...

Страница 3: ...e functions 26 System functions 27 XML functions 27 ColdFusion variables 28 Variable scope 28 Caller scope 28 Client variables 28 Server variables 28 Application and session variables 28 Custom tag va...

Страница 4: ...4 CFML Quick Reference Standard CGI variables 33 Request 33 Server 33 Client 33...

Страница 5: ...seconds setDomainCookies Yes or No cfargument cfargument name string type data type required Yes or No default default value displayname descriptive name hint extended description cfassociate cfassoci...

Страница 6: ...item text value number cfchartseries cfchartseries type type query queryName itemColumn queryColumn valueColumn queryColumn seriesLabel Label Text seriesColor Hex value or Web color paintStyle plain...

Страница 7: ...cfelseif cfif expression HTML and CFML tags cfelseif expression HTML and CFML tags cfelse HTML and CFML tags cfif cferror cferror type a type template template_path mailTo email_address exception exc...

Страница 8: ...ntent mode permission addNewLine Yes or No attributes file_attributes_list charset charset_option cfflush cfflush interval integer number of bytes cfform cfform name name action form_action preserveDa...

Страница 9: ...or No font column_font fontSize size italic Yes or No bold Yes or No textColor web color href URL hrefKey column_name target URL_target appendKey Yes or No highlightHref Yes or No onValidate javascrip...

Страница 10: ...fgridrow data col1 col2 cfgridupdate cfgridupdate grid gridname dataSource data source name tableName table name username data source username password data source password tableOwner table owner tabl...

Страница 11: ...om_value URLpath URL extensions file_extensions query query_name recurse Yes or No language language cfinput cfinput type input_type name name value initial_value required Yes or No range min_value ma...

Страница 12: ...gname for instantiated component method method name returnVariable variable name argumentCollection argument collection OR Syntax 4B this syntax invokes a web service This syntax shows instantiation w...

Страница 13: ...ype application application name yes or no cflogin cflogin idletimeout value applicationToken token cookieDomain domain cfloginuser name name password password string roles roles cflogin cfloginuser c...

Страница 14: ...value header value cfmail cfmailpart cfmail Optional cfmailparam entries cfmailpart type mime type charset character encoding wraptext number cfmail cfmodule cfmodule template path name tag_name attri...

Страница 15: ...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...

Страница 16: ...on get branch branch entry key or value variable variable type data type cfregistry action set branch branch entry key or value type value type value data cfregistry action delete branch branch entry...

Страница 17: ...text size integer multiple Yes or No query queryname selected column_value value text display text passThrough HTML_attributes cfselect cfset cfset var variable_name expression cfsetting cfsetting en...

Страница 18: ...umber cftable cftextinput cftextinput name name value text required Yes or No range min_value max_value validate data_type pattern Java regular expression onValidate script_name message text onError t...

Страница 19: ...order Yes or No hScroll Yes or No vScroll Yes or No notSupported text cftree cftreeitem cftreeitem value text display text parent parent_name img filename imgopen filename href URL target URL_target q...

Страница 20: ...ions ArrayToList array delimiter Hash string LCase string ListToArray list delimiters ToBase64 string or binary_object encoding ToBinary string_in_Base64 or binary_value ToString any_value encoding UR...

Страница 21: ...Second date TimeFormat time mask Week date Year date Decision functions DirectoryExists absolute_path FileExists absolute_path IIf condition string_expression1 string_expression2 IsArray value number...

Страница 22: ...imeFormat time mask NumberFormat number mask ParagraphFormat string RJustify string length StripCR string TimeFormat time mask YesNoFormat value StripCR string Dynamic evaluation functions DE string E...

Страница 23: ...umber string LSTimeFormat time mask SetEncoding scope_name charset SetLocale new_locale List functions ArraySort array sort_type sort_order ArrayToList array delimiter Asc string Chr number Cjustify s...

Страница 24: ...er 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 BitSH...

Страница 25: ...g functions ColdFusion MX ColdFusion now supports the Java UCS 2 representation of Unicode character values 0 65535 Earlier releases supported ASCII values String processing functions process any of t...

Страница 26: ...st2 ReplaceNoCase string substring1 substring2 scope REReplace string reg_expression substring scope REReplaceNoCase string reg_expression substring scope Reverse string Right string count RJustify st...

Страница 27: ...me GetException object GetFileFromPath path GetFunctionList GetHttpRequestData GetLocale GetMetaData object GetMetaData this if used in a ColdFusion component GetMetricData mode GetProfileSections ini...

Страница 28: ...as Variables linguist Caller scope ColdFusion MX supports the Caller scope as a structure Client variables The following client variables are read only Client CFID Client CFToken Client HitCount Clien...

Страница 29: ...ET 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 as follows CFOUTPUT Request field_name1 CFOUT...

Страница 30: ...eryname Type queryname DateLastModified queryname Attributes queryname Mode CFERROR variables When cferror generates an error page the following error variables are available if type request exception...

Страница 31: ...E ServerFile CFFILE ServerFileExt CFFILE ServerFileName CFFILE TimeCreated CFFILE TimeLastModified CFFTP error variables When you use the cfftp stoponerror attribute these variables are populated CFFT...

Страница 32: ...ame MessageNumber queryname ReplyTo queryname Subject queryname CC queryname To queryname CurrentRow queryname RecordCount queryname ColumnList queryname Attachments queryname AttachmentFiles CFQUERY...

Страница 33: ...d configuration Some of the following variables may not be available Request CGI AUTH_TYPE CGI CONTENT_LENGTH CGI CONTENT_TYPE CGI PATH_INFO CGI PATH_TRANSLATED CGI QUERY_STRING CGI REMOTE_ADDR CGI RE...

Страница 34: ...34 CFML Quick Reference...

Отзывы: