lucee.Componentmura.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 |
---|
configBean
fileWriter
Method Detail |
---|
array
stringa
array
event
string
hash
obj
name
baseDir
destDir
excludeList
sinceDate
excludeHiddenFiles
text
theLink
siteid
displaypoolid
name
maintainCase
baseDir
error
args
badwords
str
rs
rsDir
path
exception
logRounds
reseedFrequency
- How often to re-seed.datetime
convertToUTC
data
RecordsPerPage
startRow
pageBuffer
event
str
event
text
array1
array2
str
len
list
text
file
type
application
This takes two queries and appends the second one to the first one. This actually updates the first query and does not return anything.
QueryOne
QueryTwo
qry
i
qry
qry
primarykey
qry
event
size
href
theString
name
value
expires
maintainCase
httpOnly
Replacement for cfcookie that handles httponly cookies
name
value
expires
- ''=session only|now|never|[date]|[number of days]domain
path
secure
httponly
maintainCase
logRounds
theString
reset
text
tagsToStrip
str
maxlen
- Maximum lengthfinishlist
- List of finish symbolsfinishdelim
- Deliemiter for List of finish symbolsstring
logRounds
str
len