lucee.Component
mura.cfobject
mura.utility
This provides global utility methods
| Constructor Summary | |
|---|---|
|
init(any configBean, any fileWriter)
|
|
| Method Summary | |
|---|---|
any
|
arrayFind(array array, string stringa)
|
any
|
arrayToQuery(array array)
|
any
|
backUp()
|
any
|
cfformprotect([any event])
|
any
|
checkBCryptHash([any string], [any hash])
|
any
|
checkForInstanceOf([any obj], [any name])
|
any
|
copyDir(any baseDir='', any destDir='', any excludeList='', any sinceDate='', any excludeHiddenFiles='true')
|
string
|
createCSSHook([any text=''])
|
any
|
createRedirectID(any theLink)
|
any
|
createRequiredSiteDirectories(string siteid='', string displaypoolid='')
|
any
|
deleteCookie(string name, [boolean maintainCase='true'])
|
any
|
deleteDir(any baseDir='')
|
any
|
displayErrors(struct error='[runtime expression]')
|
any
|
dumpTrace()
|
struct
|
filterArgs([struct args], [string badwords])
|
any
|
fixLineBreaks([any str])
|
any
|
fixOracleClobs([any rs])
|
any
|
fixQueryPaths([any rsDir], [any path='directory'])
|
any
|
formatError([any exception])
|
any
|
getBCrypt()
|
any
|
getCryptoSalt([any logRounds='[runtime expression]'], [any reseedFrequency='[runtime expression]'])
|
any
|
getEpochTime()
|
any
|
getIsoTimeString(date datetime, [boolean convertToUTC='true'])
|
struct
|
getNextN([any data], [numeric RecordsPerPage], [numeric startRow], [numeric pageBuffer='5'])
|
struct
|
getReCAPTCHAKeys(any event)
|
struct
|
getReCAPTCHALanguages()
|
any
|
getRequestHost()
|
any
|
getRequestProtocol()
|
any
|
getStringBytesLength([any str])
|
any
|
getUUID()
|
boolean
|
isHTTPS()
|
boolean
|
isHuman(any event)
|
any
|
isValidCFVariableName(String text)
|
any
|
joinArrays([any array1], [any array2])
|
any
|
leftTrimByBytes([any str=''], [any len='255'])
|
any
|
listFix([any list])
|
any
|
logEvent(string text='', string file='', string type='Information', boolean application='true')
|
any
|
queryAppend(query QueryOne, query QueryTwo)
This takes two queries and appends the second one to the first one. |
any
|
queryRowToArray([any qry], [any i])
|
struct
|
queryRowToStruct(query qry)
|
any
|
queryToArray([any qry], [any primarykey=''])
|
any
|
queryToStruct([any qry])
|
boolean
|
reCAPTCHA(any event)
|
string
|
renderFileSize([any size='0'])
|
any
|
sanitizeHref([any href])
|
string
|
setCamelback([any theString=''])
|
any
|
setCookie(string name, string value, [string expires='never'], [boolean maintainCase='true'], [boolean httpOnly='true'])
|
void
|
setCookieLegacy(string name, string value, [any expires=''], [string domain=''], [string path='/'], [boolean secure='false'], [boolean httponly='true'], [boolean maintainCase='false'])
Replacement for cfcookie that handles httponly cookies. |
any
|
setCryptoSalt([any logRounds='[runtime expression]'])
|
string
|
setProperCase([any theString=''])
|
any
|
setSessionCookies([any reset='true'])
|
string
|
stripTags([any text=''], [any tagsToStrip='script,style,embed,object'])
|
any
|
suppressDebugging()
|
any
|
textPreview(string str, [numeric maxlen='100'], [string finishlist='.|?|!'], [string finishdelim='|'])
|
any
|
toBCryptHash([any string], [any logRounds='[runtime expression]'])
|
any
|
trimVarchar([any str], [any len])
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
configBeanfileWriter| Method Detail |
|---|
arraystringaarrayeventstringhashobjnamebaseDirdestDirexcludeListsinceDateexcludeHiddenFilestexttheLinksiteiddisplaypoolidnamemaintainCasebaseDirerrorargsbadwordsstrrsrsDirpathexceptionlogRoundsreseedFrequency - How often to re-seed.datetimeconvertToUTCdataRecordsPerPagestartRowpageBuffereventstreventtextarray1array2strlenlisttextfiletypeapplicationThis takes two queries and appends the second one to the first one. This actually updates the first query and does not return anything.
QueryOneQueryTwoqryiqryqryprimarykeyqryeventsizehreftheStringnamevalueexpiresmaintainCasehttpOnlyReplacement for cfcookie that handles httponly cookies
namevalueexpires - ''=session only|now|never|[date]|[number of days]domainpathsecurehttponlymaintainCaselogRoundstheStringresettexttagsToStripstrmaxlen - Maximum lengthfinishlist - List of finish symbolsfinishdelim - Deliemiter for List of finish symbolsstringlogRoundsstrlen