WEB-INF.cftags.component coldbox.system.core.util.Util
The main ColdBox utility library filled with lots of nice goodies.
Method Summary | |
---|---|
void
|
abortit()
Facade for cfabort. |
struct
|
arrayToStruct(array in)
Convert an array to struct argument notation. |
void
|
convertToColdBox(any family, any target)
Decorate an object as a ColdBox Family object. |
void
|
dumpit(any var, [boolean isAbort='false'])
Facade for cfmx dump. |
string
|
fileLastModified(any filename)
Get the last modified date of a file. |
string
|
getAbsolutePath(any path)
Turn any system path, either relative or absolute, into a fully qualified one. |
any
|
getInheritedMetaData(any component, [any stopRecursions='[runtime expression]'], [any md='[runtime expression]'])
Returns a single-level metadata struct that includes all items inhereited from extending classes. |
any<MixerUtil>
|
getMixerUtil()
Get the mixer utility. |
boolean
|
inThread()
Check if you are in cfthread or not for any CFML Engine. |
void
|
includeit(any template)
Facade for cfinclude. |
boolean
|
isFamilyType(any family, any target)
Checks if an object is of the passed in family type. |
boolean
|
isInstanceCheck(any obj, any family='')
Checks if an object is of a certain type of family via inheritance. |
any
|
placeHolderReplacer(any str, any settings)
PlaceHolder Replacer for strings containing ${} patterns. |
void
|
rethrowit(any throwObject)
Rethrow an exception. |
string
|
ripExtension(any filename)
Rip the extension of a filename. |
private any<Boolean>
|
stopClassRecursion(any classname, any stopRecursions)
Should we stop recursion or not due to class name found: Boolean. |
void
|
throwInvalidHTTP(any className, any detail, any statusText, any statusCode)
Throw an invalid HTTP exception. |
any
|
throwit(any message, [any detail=''], [any type='Framework'])
Facade for cfthrow. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Method Detail |
---|
Facade for cfabort
Convert an array to struct argument notation
in
- The array to convertDecorate an object as a ColdBox Family object
family
- The family to covert it to: handler, plugin, interceptortarget
- The target objectFacade for cfmx dump
var
isAbort
- Abort alsoGet the last modified date of a file
filename
Turn any system path, either relative or absolute, into a fully qualified one
path
Returns a single-level metadata struct that includes all items inhereited from extending classes.
component
- A component instance, or the path to onestopRecursions
- An array of classes to stop recursionmd
- A structure containing a copy of the metadata for this level of recursion.Get the mixer utility
Check if you are in cfthread or not for any CFML Engine
Facade for cfinclude
template
Checks if an object is of the passed in family type
family
- The family to covert it to: handler, plugin, interceptortarget
- The target objectChecks if an object is of a certain type of family via inheritance
obj
- The object to evaluatefamily
- The family string to checkPlaceHolder Replacer for strings containing ${} patterns
str
- The string variable to look for replacementssettings
- The structure of settings to use in replacingRethrow an exception
throwObject
- The exception objectRip the extension of a filename.
filename
Should we stop recursion or not due to class name found: Boolean
classname
- The class name to checkstopRecursions
- An array of classes to stop processing atThrow an invalid HTTP exception
className
- The class producing the exceptiondetail
- The throw detail argument to send outstatusText
- Invalid exception status textstatusCode
- The status code to send out.Facade for cfthrow
message
detail
type