Singleton Object Example with Injected Methods

Dump Value - component code.lead_posting.AddLead
METHODS
FN_GETCURRENTUSERDATA
TRACE
Dump Value - function Trace
Arguments: 
Name Required Type Default
Text Optional String  
Inline Optional Boolean True
Var Optional Any  
Abort Optional Boolean No
Category Optional String  
Type Optional String 1
b_SendDump Optional String  
ReturnType: void
Roles:  
Access: public
Output: true
DisplayName: Trace Function
Hint: Script Version that mimics most of CFTrace. .It does not currently do any logging and can be INLINE only...
Description:  
ENCRYPTCC
Dump Value - function EncryptCC
Arguments: 
Name Required Type Default
sz_CC Required String  
b_SendDump Optional String  
ReturnType: any
Roles:  
Access: public
Output: false
DisplayName: EncryptCC Function
Hint: Very old, needs to be updated to using real encryption, all the data needs to be updated as well.'
Description:  
DECRYPTSSN
Dump Value - function DecryptSSN
Arguments: 
Name Required Type Default
sz_SSN Required String  
b_SendDump Optional String  
ReturnType: any
Roles:  
Access: public
Output: false
DisplayName: DecryptSSN Function
Hint: Very old, needs to be updated to using real encryption, all the data needs to be updated as well.'
Description:  
FN_INJECTMETHODS
Dump Value - function fn_InjectMethods
Arguments: none
ReturnType: any
Roles:  
Access: public
Output:  
DisplayName:  
Hint: This returns the local methods of this cfc so they can be appended.
Abstracted out so this can be more selective about how/what it appends in future maybe. For instance, fn_InjectMethods does not need to be appended to all objects...
Description:  
ABORT
Dump Value - function Abort
Arguments: none
ReturnType: void
Roles:  
Access: public
Output: false
DisplayName:  
Hint: Allows access to CFABORT inside a CFSCRIPT block.
Description:  
FN_ADDLEAD
Dump Value - function fn_AddLead
Arguments: 
Name Required Type Default
n_AFID Optional numeric 4
sz_Title Optional string  
sz_NameFirst Optional string  
sz_NameMiddle Optional string  
sz_NameLast Optional string  
sz_Email Optional string  
sz_Address1 Optional string  
sz_Address2 Optional string  
sz_City Optional string  
sz_State Optional string  
sz_Zip Optional string  
sz_PhoneHm Optional string  
sz_PhoneWk Optional string  
sz_PhoneMb Optional string  
uc_BestTimeToCall Optional string  
sz_ProblemDesc Optional string  
sz_Note Optional string  
sz_SiteID Optional string  
sz_Sequence Optional string  
sz_IP Optional string  
dt_LeadCreated Optional date [runtime expression]
l_UnserviceableStates Optional string AL,LA
n_DaysAllAFIDs Optional numeric 60
n_DaysSameAFID Optional numeric 60
sz_CreatedIn Optional string [runtime expression]
n_CreatedByUserID Optional numeric [runtime expression]
sz_CreatedByUserName Optional string [runtime expression]
sz_CreatedByIP Optional string [runtime expression]
dt_Created Optional date [runtime expression]
tbl_Lead Optional string TBL_LEAD_MAININFO
tbl_Affiliate Optional string TBL_AFFILIATES_MAIN
tbl_AreaCode Optional string TBL_AREACODES_MAIN
b_SendDump Optional boolean false
b_TraceOn Optional



CachedSince:{ts '2024-03-19 03:58:18'}