Skip to content

Commit

Permalink
Merge pull request #1648 from KamasamaK/update-cf-min-versions-20240328
Browse files Browse the repository at this point in the history
Update CF min version and more (A-O functions)
  • Loading branch information
pfreitag authored Apr 2, 2024
2 parents 4e2fae4 + 9d999bd commit 4df4939
Show file tree
Hide file tree
Showing 75 changed files with 377 additions and 446 deletions.
6 changes: 3 additions & 3 deletions data/en/addsoaprequestheader.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{"name":"mustUnderstand","description":"The mustUnderstand attribute indicates whether processing of the header is optional or mandatory.\nThis basically translates to the node trying to find an appropriate handler that matches the header\nand proceed with processing the message in a manner consistent with its specification. If it can't find an appropriate handler\nit must return an error and stop further processing. If mustUnderstand is set to `true`\nthe node is not allowed to ignore it.","required":false,"default":"false","type":"boolean","values":[]}
],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/addsoaprequestheader.html"},
"coldfusion": {"minimum_version":"7", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/addsoaprequestheader.html"},
"lucee": {"minimum_version":"", "notes":"", "docs":"https://docs.lucee.org/reference/functions/addsoaprequestheader.html"},
"railo": {"minimum_version":"", "notes":"", "docs":"http://railodocs.org/index.cfm/function/addsoaprequestheader"},
"openbd": {"minimum_version":"", "notes":"", "docs":"http://openbd.org/manual/?/function/addsoaprequestheader"}
Expand All @@ -23,9 +23,9 @@
{
"title": "Set the username header as a string",
"description": "",
"code": "/ws = createObject(\"webservice\", \"http://localhost/soapheaders/headerservice.cfc?WSDL\");\r\naddSOAPRequestHeader(ws, \"http://mynamespace/\", \"username\", \"tom\", false);",
"code": "/ws = createObject(\"webservice\", \"http://localhost/soapheaders/headerservice.cfc?WSDL\");\naddSOAPRequestHeader(ws, \"http://mynamespace/\", \"username\", \"tom\", false);",
"result": "",
"runnable":false
"runnable":false
}
]
}
6 changes: 3 additions & 3 deletions data/en/addsoapresponseheader.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{"name":"mustUnderstand","description":"The mustUnderstand attribute indicates whether processing of the header is optional or mandatory.\nThis basically translates to the node trying to find an appropriate handler that matches the header\nand proceed with processing the message in a manner consistent with its specification. If it can't find an appropriate handler\nit must return an error and stop further processing. If mustUnderstand is set to `true`\nthe node is not allowed to ignore it.","required":false,"default":"","type":"boolean","values":[]}
],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/addsoapresponseheader.html"},
"coldfusion": {"minimum_version":"7", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/addsoapresponseheader.html"},
"lucee": {"minimum_version":"", "notes":"", "docs":"https://docs.lucee.org/reference/functions/addsoapresponseheader.html"},
"railo": {"minimum_version":"", "notes":"", "docs":"http://railodocs.org/index.cfm/function/addsoapresponseheader"},
"openbd": {"minimum_version":"", "notes":"", "docs":"http://openbd.org/manual/?/function/addsoapresponseheader"}
Expand All @@ -22,9 +22,9 @@
{
"title": "Set the username header as a string and get the first header as an object (string) and as XML",
"description": "",
"code": "ws = createObject(\"webservice\", \"http://localhost/soapheaders/headerservice.cfc?WSDL\");\r\naddSOAPRequestHeader(ws, \"http://mynamespace/\", \"username\", \"tom\", false);\r\nret = ws.echo_me(\"argument\");\r\nheader = getSOAPResponseHeader(ws, \"http://www.tomj.org/myns\", \"returnheader\"); \r\nXMLheader = getSOAPResponseHeader(ws, \"http://www.tomj.org/myns\", \"returnheader\", true);",
"code": "ws = createObject(\"webservice\", \"http://localhost/soapheaders/headerservice.cfc?WSDL\");\naddSOAPRequestHeader(ws, \"http://mynamespace/\", \"username\", \"tom\", false);\nret = ws.echo_me(\"argument\");\nheader = getSOAPResponseHeader(ws, \"http://www.tomj.org/myns\", \"returnheader\"); \nXMLheader = getSOAPResponseHeader(ws, \"http://www.tomj.org/myns\", \"returnheader\", true);",
"result": "",
"runnable":false
"runnable":false
}
]
}
10 changes: 3 additions & 7 deletions data/en/ajaxlink.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@
"syntax":"ajaxLink(url)",
"returns":"void",
"related":[],
"description":" Causes an HTML href attribute to display link results in the current Ajax container.",
"description":"Causes an HTML href attribute to display link results in the current Ajax container.",
"params": [
{"name":"url","description":"The URL of the link.","required":true,"default":"","type":"string","values":[]}

],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/ajaxlink.html"},
"coldfusion": {"minimum_version":"8", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/ajaxlink.html"},
"lucee": {"minimum_version":"", "notes":"", "docs":"https://docs.lucee.org/reference/functions/ajaxlink.html"},
"railo": {"minimum_version":"", "notes":"", "docs":"http://railodocs.org/index.cfm/function/ajaxlink"}
},
"links": [

]

"links": []
}
10 changes: 3 additions & 7 deletions data/en/ajaxonload.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@
"syntax":"ajaxOnLoad(functionName)",
"returns":"void",
"related":[],
"description":" Causes the specified JavaScript function to run when the page loads.",
"description":"Causes the specified JavaScript function to run when the page loads.",
"params": [
{"name":"functionName","description":"The name of the function to run when the page loads.","required":true,"default":"","type":"string","values":[]}

],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/ajaxonload.html"},
"coldfusion": {"minimum_version":"8", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/ajaxonload.html"},
"lucee": {"minimum_version":"", "notes":"", "docs":"https://docs.lucee.org/reference/functions/ajaxonload.html"},
"railo": {"minimum_version":"", "notes":"", "docs":"http://railodocs.org/index.cfm/function/ajaxonload"}
},
"links": [

]

"links": []
}
11 changes: 3 additions & 8 deletions data/en/arraycontains.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@
"params": [
{"name":"array","description":"The array in which to search.","required":true,"default":"","type":"array","values":[]},
{"name":"value","description":"The value to search for in the array.","required":true,"default":"","type":"any","values":[]},
{"name":"substringMatch","description":" Lucee4.5+ If set to true then a substring match will also return an array position. This will only work with simple values. Passing true with complex objects will throw an exception.","required":false,"default":"false","type":"any","values":[]}

{"name":"substringMatch","description":"Lucee4.5+ If set to true then a substring match will also return an array position. This will only work with simple values. Passing true with complex objects will throw an exception.","required":false,"default":"false","type":"any","values":[]}
],
"engines": {
"coldfusion": {"minimum_version":"", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraycontains.html"},
"coldfusion": {"minimum_version":"9", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraycontains.html"},
"lucee": {"minimum_version":"", "notes":"Returns the position of the array instead of boolean value.", "docs":"https://docs.lucee.org/reference/functions/arraycontains.html"},
"openbd": {"minimum_version":"", "notes":"", "docs":"http://openbd.org/manual/?/function/arraycontains"}
},
"links": [

],
"links": [],
"examples": [
{
"title": "Array Contains",
Expand Down Expand Up @@ -52,6 +49,4 @@
"result": "1"
}
]


}
9 changes: 8 additions & 1 deletion data/en/arraygetmetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"engines": {
"coldfusion": {"minimum_version":"2016.0.2", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraygetmetadata.html"}
},
"links": [],
"links": [],
"examples": [
{
"title": "Simple Example",
Expand All @@ -25,6 +25,13 @@
"description": "",
"code": "// Create an array\narrayList = [\"apple\", \"pineapple\", \"mango\"];\n\n// Fetch meta data\ndata = arrayList.getMetadata();\n\n// Print array type\nwriteOutput(data.type);",
"result": "synchronized"
},
{
"title":"Dump Metadata of Typed Array (Member syntax)",
"description":"CF2018+ Return struct has a new key called `dimensions` and can also have a defined datatype. Supported datatypes are String, Numeric, Boolean, Date, Array, Struct, Query, Component, [Component name], Binary, and Function.",
"code":"arr = arrayNew['String'](1);\nwriteOutput(serializeJson(arr.getMetadata()));",
"result":"{\"dimensions\":1,\"datatype\":\"String\",\"type\":\"synchronized\"}",
"runnable": true
}
]
}
2 changes: 1 addition & 1 deletion data/en/cf2016.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["arrayContainsNoCase","arrayDeleteNoCase","arrayGetMetadata","arraySetMetadata","booleanFormat","encodeFor","floor","getCanonicalPath","isPDFArchive","queryEach","queryFilter","queryKeyExists","queryMap","queryReduce","querySort","replaceListNoCase","spreadsheetGetColumnCount","structGetMetadata","structSetMetadata","structToSorted","valueArray"],
"related":["arrayContainsNoCase","arrayDeleteNoCase","arrayGetMetadata","arraySetMetadata","booleanFormat","encodeFor","floor","getCanonicalPath","isDateObject","isPDFArchive","queryEach","queryFilter","queryKeyExists","queryMap","queryReduce","querySort","replaceListNoCase","spreadsheetGetColumnCount","structGetMetadata","structSetMetadata","structToSorted","valueArray"],
"name":"ColdFusion 2016 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 2016"
}
2 changes: 1 addition & 1 deletion data/en/cf2021.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["arrayPop","arrayPush","arrayReduceRight","arrayShift","arrayUnshift","cfjava","clearTimeZone","generateBCryptHash","generateSCryptHash","getTimeZone","listReduceRight","setTimeZone","stringEach","stringEvery","stringFilter","stringMap","stringReduce","stringReduceRight","stringSome","stringSort","structIsCaseSensitive","verifyBCryptHash","verifySCryptHash"],
"related":["arrayPop","arrayPush","arrayReduceRight","arrayShift","arrayUnshift","cfjava","clearTimeZone","generateBCryptHash","generateSCryptHash","getTimeZone","listReduceRight","millisecond","setTimeZone","stringEach","stringEvery","stringFilter","stringMap","stringReduce","stringReduceRight","stringSome","stringSort","structIsCaseSensitive","verifyBCryptHash","verifySCryptHash"],
"name":"ColdFusion 2021 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 2021"
}
2 changes: 1 addition & 1 deletion data/en/cf6.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["cfargument","cfchart","cfchartdata","cfchartseries","cfcomponent","cffunction","cfimport","cfinvoke","cfinvokeargument","cflogin","cfloginuser","cflogout","cfobjectcache","cfproperty","cfreturn","cftrace","cfxml","createDateTime","getPageContext","isK2ServerABroker","isK2ServerDocCountExceeded","isK2ServerOnline","xmlSearch"],
"related":["cfargument","cfchart","cfchartdata","cfchartseries","cfcomponent","cffunction","cfimport","cfinvoke","cfinvokeargument","cflogin","cfloginuser","cflogout","cfobjectcache","cfproperty","cfreturn","cftrace","cfxml","createDateTime","getAuthUser","getEncoding","getK2ServerDocCount","getK2ServerDocCountLimit","getMetadata","getPageContext","getProfileSections","isK2ServerABroker","isK2ServerDocCountExceeded","isK2ServerOnline","isObject","isUserInRole","isXMLDoc","isXMLElem","isXMLRoot","xmlSearch"],
"name":"ColdFusion 6 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 6"
}
2 changes: 1 addition & 1 deletion data/en/cf7.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["Application.cfc","binaryDecode","binaryEncode","cfcalendar","cfdocument","cfdocumentitem","cfdocumentsection","cfformgroup","cfformitem","cfntauthenticate","cfreportparam","cftextarea","cftimer","charsetDecode","charsetEncode","generateSecretKey","isValid","onApplicationEnd","onApplicationStart","onError","onRequest","onRequestEnd","onRequestStart","onSessionEnd","onSessionStart"],
"related":["Application.cfc","addSOAPRequestHeader","addSOAPResponseHeader","binaryDecode","binaryEncode","cfcalendar","cfdocument","cfdocumentitem","cfdocumentsection","cfformgroup","cfformitem","cfntauthenticate","cfreportparam","cftextarea","cftimer","charsetDecode","charsetEncode","generateSecretKey","getContextRoot","getGatewayHelper","getLocaleDisplayName","getSOAPRequest","getSOAPRequestHeader","getSOAPResponse","getSOAPResponseHeader","isSOAPRequest","isValid","isXML","isXMLAttribute","isXMLNode","onApplicationEnd","onApplicationStart","onError","onRequest","onRequestEnd","onRequestStart","onSessionEnd","onSessionStart"],
"name":"ColdFusion 7 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 7"
}
2 changes: 1 addition & 1 deletion data/en/cf8.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["arrayIsDefined","cfajaximport","cfajaxproxy","cfdbinfo","cfdiv","cfexchangecalendar","cfexchangeconnection","cfexchangecontact","cfexchangefilter","cfexchangemail","cfexchangetask","cffeed","cfimage","cfinterface","cflayout","cflayoutarea","cfmenu","cfmenuitem","cfpdf","cfpdfform","cfpdfformparam","cfpdfparam","cfpdfsubform","cfpod","cfpresentation","cfpresentationslide","cfpresenter","cfprint","cfsprydataset","cfthread","cftooltip","cfwindow","cfzip","cfzipparam","deserializeJSON","dotnetToCFType","fileClose","fileCopy","fileDelete","fileIsEOF","fileMove","fileOpen","fileRead","fileReadBinary","fileReadLine","fileSetAccessMode","fileSetAttribute","fileSetLastModified","fileWrite","fileWriteLine","getFileInfo","imageAddBorder","imageBlur","imageClearRect","imageCopy","imageCrop","imageDrawArc","imageDrawBeveledRect","imageDrawCubicCurve","imageDrawLine","imageDrawLines","imageDrawOval","imageDrawPoint","imageDrawQuadraticCurve","imageDrawRect","imageDrawRoundRect","imageDrawText","imageFlip","imageGetBlob","imageGetBufferedImage","imageGetEXIFMetadata","imageGetEXIFTag","imageGetHeight","imageGetIPTCMetadata","imageGetIPTCtag","imageGetWidth","imageGrayScale","imageInfo","imageNegative","imageNew","imageOverlay","imagePaste","imageRead","imageReadBase64","imageResize","imageRotate","imageRotateDrawingAxis","imageScaleTofit","imageSetBackgroundColor","imageSetDrawingColor","imageSetDrawingStroke","imageSetDrawingTransparency","imageSharpen","imageShear","imageShearDrawingAxis","imageTranslate","imageTranslateDrawingAxis","imageWrite","imageWriteBase64","isPDFFile","onMissingMethod","onMissingTemplate","reMatch","reMatchNoCase","serializeJSON"],
"related":["ajaxLink","ajaxOnLoad","arrayIsDefined","cfajaximport","cfajaxproxy","cfdbinfo","cfdiv","cfexchangecalendar","cfexchangeconnection","cfexchangecontact","cfexchangefilter","cfexchangemail","cfexchangetask","cffeed","cfimage","cfinterface","cflayout","cflayoutarea","cfmenu","cfmenuitem","cfpdf","cfpdfform","cfpdfformparam","cfpdfparam","cfpdfsubform","cfpod","cfpresentation","cfpresentationslide","cfpresenter","cfprint","cfsprydataset","cfthread","cftooltip","cfwindow","cfzip","cfzipparam","deserializeJSON","dotnetToCFType","fileClose","fileCopy","fileDelete","fileIsEOF","fileMove","fileOpen","fileRead","fileReadBinary","fileReadLine","fileSetAccessMode","fileSetAttribute","fileSetLastModified","fileWrite","fileWriteLine","getComponentMetadata","getFileInfo","getPrinterInfo","getPrinterList","getReadableImageFormats","getUserRoles","getWriteableImageFormats","imageAddBorder","imageBlur","imageClearRect","imageCopy","imageCrop","imageDrawArc","imageDrawBeveledRect","imageDrawCubicCurve","imageDrawLine","imageDrawLines","imageDrawOval","imageDrawPoint","imageDrawQuadraticCurve","imageDrawRect","imageDrawRoundRect","imageDrawText","imageFlip","imageGetBlob","imageGetBufferedImage","imageGetEXIFMetadata","imageGetEXIFTag","imageGetHeight","imageGetIPTCMetadata","imageGetIPTCtag","imageGetWidth","imageGrayScale","imageInfo","imageNegative","imageNew","imageOverlay","imagePaste","imageRead","imageReadBase64","imageResize","imageRotate","imageRotateDrawingAxis","imageScaleTofit","imageSetAntialiasing","imageSetBackgroundColor","imageSetDrawingColor","imageSetDrawingStroke","imageSetDrawingTransparency","imageSharpen","imageShear","imageShearDrawingAxis","imageTranslate","imageTranslateDrawingAxis","imageWrite","imageWriteBase64","imageXORDrawingMode","isDDX","isImage","isImageFile","isInstanceOf","isJSON","isPDFFile","isPDFObject","isUserInAnyRole","isUserLoggedIn","onMissingMethod","onMissingTemplate","reMatch","reMatchNoCase","serializeJSON"],
"name":"ColdFusion 8 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 8"
}
2 changes: 1 addition & 1 deletion data/en/cf9.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"related":["applicationStop","arrayFind","arrayFindNoCase","cacheGet","cacheGetAllIds","cacheGetMetadata","cacheGetProperties","cachePut","cacheRemove","cacheSetProperties","cfcontinue","cffileupload","cffinally","cfimap","cfmap","cfmapitem","cfmediaplayer","cfmessagebox","cfprogressbar","cfsharepoint","cfspreadsheet","directoryCreate","directoryDelete","directoryList","directoryRename","entityDelete","entityLoad","entityLoadByExample","entityLoadByPK","entityNew","entityToQuery","fileSeek","fileSkipBytes","getFunctionCalledName","isNull","objectLoad","objectSave","onServerStart","ormExecuteQuery","spreadsheetAddRow","spreadsheetAddRows","spreadsheetFormatCell","spreadsheetFormatColumn","spreadsheetFormatColumns","spreadsheetFormatRow","spreadsheetFormatRows","spreadsheetNew","throw","trace","writeDump","writeLog"],
"related":["applicationStop","arrayContains","arrayFind","arrayFindNoCase","cacheGet","cacheGetAllIds","cacheGetMetadata","cacheGetProperties","cachePut","cacheRemove","cacheSetProperties","cfcontinue","cffileupload","cffinally","cfimap","cfmap","cfmapitem","cfmediaplayer","cfmessagebox","cfprogressbar","cfsharepoint","cfspreadsheet","directoryCreate","directoryDelete","directoryList","directoryRename","entityDelete","entityLoad","entityLoadByExample","entityLoadByPK","entityMerge","entityNew","entityReload","entitySave","entityToQuery","fileSeek","fileSkipBytes","getFunctionCalledName","getVFSMetadata","isIPV6","isNull","isSpreadsheetFile","isSpreadsheetObject","location","objectEquals","objectLoad","objectSave","onServerStart","ormClearSession","ormCloseSession","ormEvictCollection","ormEvictEntity","ormEvictQueries","ormExecuteQuery","ormFlush","ormGetSession","ormGetSessionFactory","ormReload","spreadsheetAddRow","spreadsheetAddRows","spreadsheetFormatCell","spreadsheetFormatColumn","spreadsheetFormatColumns","spreadsheetFormatRow","spreadsheetFormatRows","spreadsheetNew","throw","trace","writeDump","writeLog"],
"name":"ColdFusion 9 New Functions and Tags","type":"listing","description":"List of tags and functions added in ColdFusion 9"
}
Loading

0 comments on commit 4df4939

Please sign in to comment.