component pnz_pinzbowlingidaho_com_www_201501_root.application
        extends c4_v2_root.cfc.C4WebApplication
SETTINGS
struct
APPLICATIONDSN c4_secure_sql
APPLICATIONROOT [empty string]
COPYRIGHT wddonline
DEFAULTSKIN text_manager,inside,default
HIDESERVERNAME false
LATITUDE 0
LITE false
LONGITUDE 0
MENUINSTANCE 1
MOBILELINK http://pnz-201501-mobile.pinzbowlingidaho-com.stage.wddonline.net/
MOBILEREDIRECT false
MOBILESKIN false
PASSWORD ice!cream@
PROTECTDEV false
PROTECTPROD false
PROTECTSTAGE true
PUBLICROLES none
SECURITYLOGIN /c4_v2_root/programs/units/v2/display/views/login_form.cfi
SECURITYMODULE /c4_v2_root/programs/units/v2/display/units_security_module.cfm
SECURITYSKIN security
SYSTEMDSN c4_secure_sql
UNITSSECURITY false
USERNAME wdd
VIRTUALROOT [empty string]
loginstorage session
C4SECURE c4_secure_sql
clientstorage COOKIE
LOCATION
struct
ADDRESS [empty string]
CITY [empty string]
LATITUDE 0
LOCATIONNAME [empty string]
LONGITUDE 0
PRIPHONE 330.334.3132
STATE [empty string]
ZIP [empty string]
setclientcookies YES
applicationtimeout 0.0138888888889
setdomaincookies NO
DATASOURCE c4_secure_sql
sessionmanagement YES
sessiontimeout 0.00347222222222
NAME app_web_site
MACHINENAME STAGE-WEB1
clientmanagement YES
scriptprotect ALL
METHODS
ALERTBOX
function AlertBox
Arguments:
Name Required Type Default
alert Required string  
type Optional string info
dismissable Optional boolean 1
field Optional string sign
ReturnType: string
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Generates the standard alert message box
Description:  
BUILDRAVENCLIENT
function BuildRavenClient
Arguments:none
ReturnType: cfc.com.wdd.raven.Raven
Roles:  
Access: public
Output: false
DisplayName:  
Hint:  
Description:  
CHECKMOBILECLASS
function checkMobileClass
Arguments:
Name Required Type Default
ua Optional string [runtime expression]
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
CHECKUNITSUSER
function CheckUnitsUser
Arguments:
Name Required Type Default
handle Required string  
cipher Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
DOMAILMERGE
function DoMailMerge
Arguments:
Name Required Type Default
text Required string  
data Required struct  
formatDates Optional boolean 1
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
ERRORBOX
function ErrorBox
Arguments:
Name Required Type Default
errors Optional struct [runtime expression]
showLabels Optional boolean 1
fields Optional string [empty string]
showFields Optional boolean 1
ReturnType: string
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Generates the standard C4 error message box.
Description:  
ERRORTEXT
function ErrorText
Arguments:
Name Required Type Default
key Required string  
errors Required struct  
imgpath Optional string /_c4/images/
ReturnType: void
Roles:  
Access: public
Output: yes
DisplayName:  
Hint: Generates the inline error text for a form element.
Description:  
GENERATEPASSWORD
function GeneratePassword
Arguments:
Name Required Type Default
length Optional numeric 6
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Generates a password containing at least one number and one special character and a minimum of 6 characters.
Description:  
GETCOUNTRIES
function GetCountries
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Returns a query of countries.
Description:  
GETLASTOCCOFDAYINMONTH
function getLastOccofDayInMonth
Arguments:
Name Required Type Default
dow Required numeric  
month Required numeric  
year Required numeric  
ReturnType: numeric
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETMACHINENAME
function GetMachineName
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETNTHOCCOFDAYINMONTH
function getNthOccofDayInMonth
Arguments:
Name Required Type Default
nth Required numeric  
dow Required numeric  
month Required numeric  
year Required numeric  
ReturnType: numeric
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETOCCOFDOW
function getOccOfDOW
Arguments:
Name Required Type Default
date Required numeric  
ReturnType: numeric
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETPAGECONFIG
function GetPageConfig
Arguments:
Name Required Type Default
targetPage Required Any  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETPROPERTIES
function GetProperties
Arguments:none
ReturnType: struct
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETPROPERTY
function GetProperty
Arguments:
Name Required Type Default
property Required string  
ReturnType: any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETREMOTEADDRESS
function GetRemoteAddress
Arguments:none
ReturnType: string
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Takes X-Forwarded-For header into account when getting clients remote address.
Description:  
GETSERVERPARAMETERS
function GetServerParameters
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
GETSERVERPORT
function GetServerPort
Arguments:none
ReturnType: numeric
Roles:  
Access: public
Output: false
DisplayName:  
Hint:  
Description:  
GETSTATES
function GetStates
Arguments:
Name Required Type Default
filter Optional string [empty string]
list Optional boolean 0
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Returns a query of states and provinces.
Description:  
IFSTRUCTKEYEXISTSELSE
function IfStructKeyExistsElse
Arguments:
Name Required Type Default
theStruct Required any  
key Required string  
elseVal Optional any [empty string]
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: I check for the existence of a structure key and return its value, or something else
Description:  
ISCAPOSTALCODE
function IsCAPostalCode
Arguments:
Name Required Type Default
zip Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Validates a string as a Canadian postal code.
Description:  
ISEMPTY
function IsEmpty
Arguments:
Name Required Type Default
value Required any  
ReturnType: boolean
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Generic function determines if a variable is empty; works on simple values, structures, arrays and queries.
Description:  
ISHTTPS
function IsHTTPS
Arguments:none
ReturnType: boolean
Roles:  
Access: public
Output: false
DisplayName:  
Hint:  
Description:  
ISUSPOSTALCODE
function IsUSPostalCode
Arguments:
Name Required Type Default
zip Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Validates a string as a US zip code.
Description:  
ISVALIDPASSWORD
function IsValidPassword
Arguments:
Name Required Type Default
pass Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
ISVALIDPOSTALCODE
function IsValidPostalCode
Arguments:
Name Required Type Default
zip Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
LOADPAGESETTINGS
function LoadPageSettings
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
LOADSKINELEMENTS
function LoadSkinElements
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
LOGINFORM
function LoginForm
Arguments:
Name Required Type Default
username Required Any  
password Required Any  
ReturnType: boolean
Roles:  
Access: public
Output: yes
DisplayName:  
Hint:  
Description:  
NEXTOCCOFDOW
function NextOccofDOW
Arguments:
Name Required Type Default
date Optional date [runtime expression]
dow Optional numeric [runtime expression]
ReturnType: date
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
ONAPPLICATIONSTART
function OnApplicationStart
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
ONMISSINGTEMPLATE
function onMissingTemplate
Arguments:
Name Required Type Default
targetPage Required string  
ReturnType: Any
Roles:  
Access: public
Output: yes
DisplayName:  
Hint:  
Description:  
ONREQUEST
function onRequest
Arguments:
Name Required Type Default
targetPage Required String  
ReturnType: Any
Roles:  
Access: public
Output: yes
DisplayName:  
Hint:  
Description:  
ONREQUESTSTART
function OnRequestStart
Arguments:
Name Required Type Default
targetPage Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
ONSESSIONSTART
function OnSessionStart
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
PREVOCCOFDOW
function PrevOccOfDOW
Arguments:
Name Required Type Default
date Optional date [runtime expression]
dow Optional numeric [runtime expression]
ReturnType: date
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
QUERYTOARRAY
function QueryToArray
Arguments:
Name Required Type Default
qry Required query  
ReturnType: array
Roles:  
Access: public
Output: No
DisplayName:  
Hint:  
Description:  
ROWCLASS
function rowClass
Arguments:
Name Required Type Default
num Required numeric  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
SETPROPERTIES
function SetProperties
Arguments:
Name Required Type Default
data Optional struct  
ReturnType: boolean
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
SETPROPERTY
function SetProperty
Arguments:
Name Required Type Default
property Required string  
value Required any  
ReturnType: boolean
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
SHOWDEBUGOUTPUT
function ShowDebugOutput
Arguments:
Name Required Type Default
allowedIps Optional array [runtime expression]
ReturnType: boolean
Roles:  
Access: public
Output: false
DisplayName:  
Hint: Returns true if the remote connections IP is on the whitelist defined inside this function
Description:  
SKINCONTENT
function SkinContent
Arguments:none
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
STRIPHTML
function StripHTML
Arguments:
Name Required Type Default
ignore Optional string [empty string]
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Remove all HTML tags from all form data except fields in ignore list.
Description:  
XMLUNFORMAT
function XMLUnFormat
Arguments:
Name Required Type Default
str Required string  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint:  
Description:  
XSSCHARS
function XSSChars
Arguments:
Name Required Type Default
ignore Optional string [empty string]
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: Convert common XSS characters to HTML entities in form data except fields in ignore list.
Description:  
XSSCLEANUP
function XSSCleanUp
Arguments:
Name Required Type Default
cleanStruct Required struct  
ReturnType: Any
Roles:  
Access: public
Output: no
DisplayName:  
Hint: XSS Utility Function to clean up the form
Description: