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
,
value
)
System functions
DirectoryExists
(
absolute_path
)
ExpandPath
(
relative_path
)
FileExists
(
absolute_path
)
GetBaseTemplatePath
()
GetCurrentTemplatePath
()
GetDirectoryFromPath
(
path
)
GetEncoding
(
scope_name
)
GetException
(
object
)
GetFileFromPath
(
path
)
GetFunctionList
()
GetHttpRequestData
()
GetLocale
()
GetMetaData
(
object
)
GetMetaData
(
this
)
if used in a ColdFusion component
GetMetricData
(
mode
)
GetProfileSections
(
iniFile
)
GetProfileString
(
iniPath
,
section, entry
)
GetTempDirectory
()
GetTempFile
(
dir
,
prefix
)
GetPageContext
()
SetEncoding
(
scope_name, charset
)
SetLocale
(
new_locale
)
SetProfileString
(
iniPath, section, entry, value
)
XML functions
IsWDDX
(
value
)
IsXmlDoc
(
value
)
IsXmlElem
(
value
)
IsXmlRoot
(
value
)
XmlChildPos
(
elem, childName, N
)
XmlElemNew
(
xmlObj, childName
)
XmlFormat
(
string
)
XmlNew
([
caseSensitive
])
XmlParse
(
xmlString
[,
caseSensitive
] )
XmlSearch
(
xmlDoc, xPathString
)
XmlTransform
(
xmlString | xmlObj
,
xslString
)