This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| sEmail = 'mol@altiob.dk"; | |
| aBlockedEMails = ['pennylund@icloud.com,claramlund@icloud.com']; | |
| if(arrayContains(aBlockedEMails, sEmail)){ | |
| sReturn { | |
| 'status': 'error', | |
| 'message': 'Email is blocked from receiving AFS mails' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| sType = "text"; | |
| sName = "fname"; | |
| sDisplay = "tony"; | |
| sSize= "12"; | |
| sMaxChar = "127"; | |
| scl = "main"; | |
| sClass = "btn-lg"; | |
| sAccessKey = ""; | |
| bEdit = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| sType = "text"; | |
| sName = "first_name"; | |
| sDisplay = ""; | |
| sSize= "12"; | |
| sMaxChar = "127"; | |
| scl = "somethinf"; | |
| sClass = "btn-lg"; | |
| sAccessKey = ""; | |
| bEdit = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| result = mergeListDistinct("a|b", "b|c", "|"); | |
| writedump(result); | |
| </cfscript> | |
| <cffunction name="mergeListDistinct" returntype="string" access="public"> | |
| <cfargument name="lList" type="string" required="true" /> | |
| <cfargument name="lListToAppend" type="string" required="true" /> | |
| <cfargument name="cDelimiter" type="string" required="false" default="," /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| result = mergeListDistinct("a|b", "b|c", "|"); | |
| writedump(result); | |
| </cfscript> | |
| <cffunction name="mergeListDistinct" returntype="string" access="public"> | |
| <cfargument name="lList" type="string" required="true" /> | |
| <cfargument name="lListToAppend" type="string" required="true" /> | |
| <cfargument name="cDelimiter" type="string" required="false" default="," /> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| var result = mergeListDistinct("a|b", "b|c", "|"); | |
| writedump(result); | |
| </cfscript> | |
| <cffunction name="mergeListDistinct" returntype="string" access="public"> | |
| <cfargument name="lList" type="string" required="true" /> | |
| <cfargument name="lListToAppend" type="string" required="true" /> | |
| <cfargument name="cDelimiter" type="string" required="false" default="," /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfset foo=1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| setTimezone( "America/Los_Angeles" ); | |
| myDate = parseDateTime( "2015-01-01" ); | |
| writeDump( createODBCCDateTime( myDate ) ); | |
| writeDump( myDate.toInstant() ); | |
| </cfscript> |
NewerOlder