This is the layer supertype cfc for all ColdBox related objects.
|
Method Summary |
void |
$abort()
Facade for cfabort
|
void |
$dump(any var, [boolean isAbort='false'])
Facade for cfmx dump
|
void |
$htmlhead(string content)
Facade to cfhtmlhead
|
void |
$include([string template])
Facade for cfinclude
|
void |
$rethrow(any throwObject)
Rethrow facade
|
any |
$throw(string message, [string detail=''], [string type='Framework'])
Facade for cfthrow
|
any |
addAsset(any asset)
Add a js/css asset(s) to the html head section
|
void |
announceInterception(string state, [struct interceptData='[runtime expression]'])
Announce an interception to the system
|
any |
getColdboxOCM()
Get ColdboxOCM: coldbox
|
any |
getController()
Get controller: coldbox
|
DatasourceBean |
getDatasource([string alias])
I will return to you a datasourceBean according to the alias of the datasource you wish to get from the configstruct
|
boolean |
getDebugMode()
Facade to get your current debug mode
|
string |
getHash()
Get the instance's unique ID
|
any |
getInstance()
Get the instance of this object
|
any |
getInterceptor([string interceptorName], [boolean deepSearch='false'])
Get an interceptor
|
MailSettingsBean |
getMailSettings()
I will return to you a mailsettingsBean modeled after your mail settings in your config file
|
any |
getModel(string name, [boolean useSetterInjection], [string onDICompleteUDF], [boolean debugMode], [string stopRecursion])
Create or retrieve model objects by convention
|
any |
getModuleSettings(string module)
Get a module's setting structure if it exists
|
any |
getMyPlugin(any plugin, [boolean newInstance='false'], [any module=''], [boolean init='true'])
Facade
|
any |
getPlugin([any plugin], [boolean customPlugin='false'], [boolean newInstance='false'], [any module=''], [boolean init='true'])
Facade
|
any |
getResource(any resource, [any default], [any locale])
Facade to i18n
|
any |
getSetting(string name, [boolean FWSetting='false'])
Facade
|
struct |
getSettingStructure([boolean FWSetting='false'], [boolean DeepCopyFlag='false'])
Facade
|
ConfigBean |
getSettingsBean([boolean FWSettings='false'])
Returns a configBean with all the configuration structure
|
any |
getfwLocale()
Get the user's currently set locale or default locale
|
void |
includeUDF(string udflibrary)
Injects a UDF Library (*
|
string |
locateDirectoryPath(string pathToCheck)
Locate the real path location of a directory in a coldbox application
|
string |
locateFilePath(string pathToCheck)
Locate the real path location of a file in a coldbox application
|
void |
persistVariables([string persist=''], [struct persistStruct])
Persist variables for flash redirections
|
Any |
populateModel(any model, [string scope=''], [boolean trustedSetter='false'], [string include=''], [string exclude=''])
Populate a named or instantiated model (java/cfc) from the request collection items
|
void |
relocate(string url, [boolean addtoken='false'], [boolean postProcessExempt='false'])
This method will be deprecated, please use setNextEvent() instead
|
Any |
renderExternalView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''])
Facade to plugins' render external view
|
Any |
renderView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''], [string module=''])
Facade to plugin's render view
|
any |
runEvent([string event=''], [boolean prepostExempt='false'], [boolean private='false'])
Facade to controller's runEvent() method
|
void |
setDebugMode(boolean mode)
Facade to set your debug mode
|
void |
setNextEvent([string event], [string queryString], [boolean addToken], [string persist], [struct persistStruct], [boolean ssl], [string baseURL], [boolean postProcessExempt], [string URL], [string URI], [numeric statusCode])
Facade
|
void |
setNextRoute(string route, [string persist=''], [struct persistStruct], [boolean addToken='false'], [boolean ssl='false'])
This method is now deprecated, please use setNextEvent()
|
void |
setSetting(string name, any value)
Facade
|
any |
setfwLocale([string locale], [boolean dontloadRBFlag])
Set the default locale to use in the framework for a specific user
|
boolean |
settingExists(string name, [boolean FWSetting='false'])
Facade
|