|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.cfobject
mura.utility
public class utility
Constructor Summary | |
---|---|
init(any configBean, any fileWriter, any javaloader)
|
Method Summary | |
---|---|
numeric |
arrayFind(array array, string stringa)
|
query |
arrayToQuery(array array)
|
void |
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 |
createRedirectID(any theLink)
|
void |
createRequiredSiteDirectories(string siteid='')
|
any |
deleteDir(any baseDir='')
|
any |
displayErrors(struct error='[runtime expression]')
|
any |
dumpTrace()
|
struct |
filterArgs([struct args], [string badwords])
|
string |
fixLineBreaks([any str])
|
any |
fixOracleClobs([any rs])
|
struct |
getNextN([any data], [numeric RecordsPerPage], [numeric startRow], [numeric pageBuffer='5'])
|
any |
getRequestProtocol()
|
string |
getUUID()
|
boolean |
isHTTPS()
|
any |
isValidCFVariableName(String text)
|
any |
joinArrays([any array1], [any array2])
|
any |
listFix([any list])
|
void |
logEvent(string text='', string file='', string type='Information', boolean application='true')
|
struct |
queryRowToStruct(query qry)
|
void |
SetCookie(string name, string value, [any expires=''], [string domain=''], [string path='/'], [boolean secure='false'], [boolean httponly='false'])
Replacement for cfcookie that handles httponly cookies |
string |
textPreview(string str, [numeric maxlen='100'], [string finishlist='.|?|!'], [string finishdelim='|'])
|
any |
toBCryptHash([any string], [any logRounds='[runtime expression]'])
|
Methods inherited from class mura.cfobject |
---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init(any configBean, any fileWriter, any javaloader)
configBean
fileWriter
javaloader
Method Detail |
---|
public numeric arrayFind(array array, string stringa)
array
stringa
public query arrayToQuery(array array)
array
public void backUp()
public any cfformprotect([any event])
event
public any checkBCryptHash([any string], [any hash])
string
hash
public any checkForInstanceOf([any obj], [any name])
obj
name
public any copyDir(any baseDir='', any destDir='', any excludeList='', any sinceDate='', any excludeHiddenFiles='true')
baseDir
destDir
excludeList
sinceDate
excludeHiddenFiles
public string createRedirectID(any theLink)
theLink
public void createRequiredSiteDirectories(string siteid='')
siteid
public any deleteDir(any baseDir='')
baseDir
public any displayErrors(struct error='[runtime expression]')
error
public any dumpTrace()
public struct filterArgs([struct args], [string badwords])
args
badwords
public string fixLineBreaks([any str])
str
public any fixOracleClobs([any rs])
rs
public struct getNextN([any data], [numeric RecordsPerPage], [numeric startRow], [numeric pageBuffer='5'])
data
RecordsPerPage
startRow
pageBuffer
public any getRequestProtocol()
public string getUUID()
public boolean isHTTPS()
public any isValidCFVariableName(String text)
text
public any joinArrays([any array1], [any array2])
array1
array2
public any listFix([any list])
list
public void logEvent(string text='', string file='', string type='Information', boolean application='true')
text
file
type
application
public struct queryRowToStruct(query qry)
qry
public void SetCookie(string name, string value, [any expires=''], [string domain=''], [string path='/'], [boolean secure='false'], [boolean httponly='false'])
name
value
expires
- ''=session only|now|never|[date]|[number of days]domain
path
secure
httponly
public string textPreview(string str, [numeric maxlen='100'], [string finishlist='.|?|!'], [string finishdelim='|'])
str
maxlen
- Maximum lengthfinishlist
- List of finish symbolsfinishdelim
- Deliemiter for List of finish symbolspublic any toBCryptHash([any string], [any logRounds='[runtime expression]'])
string
logRounds
|
Mura CMS 6.1 | ||||
FRAMES |