|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.frameworkSupertype
coldbox.system.plugin
coldbox.system.plugins.renderer
public class renderer
This service renders layouts, views, framework includes, etc.
Constructor Summary | |
---|---|
init(any controller)
Constructor |
Method Summary | |
---|---|
private string |
getappMapping()
Get appMapping |
private string |
getlayoutsConvention()
Get layoutsConvention |
private string |
getviewsConvention()
Get viewsConvention |
void |
purgeView(string view)
Purges a view from the cache, also see the cache manager for purging views. |
Any |
renderExternalView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''])
Renders an external view. |
any |
renderLayout()
Renders the current layout + view Combinations if declared. |
Any |
renderView([string view=''], [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''])
Renders the current view. |
Methods inherited from class coldbox.system.plugin |
---|
getPluginDescription, getPluginName, getPluginVersion, getpluginPath, setPluginDescription, setPluginName, setPluginVersion
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any controller)
Method Detail |
---|
private string getappMapping()
private string getlayoutsConvention()
private string getviewsConvention()
public void purgeView(string view)
view
- The view to purge from the cachePublic Any renderExternalView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''])
renderExternalView
in class
frameworkSupertype
view
- The full path to the view. This can be an expanded path or relative. Include extension.cache
- True if you want to cache the view.cacheTimeout
- The cache timeoutcacheLastAccessTimeout
- The last access timeoutPublic any renderLayout()
Public Any renderView([string view=''], [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''])
renderView
in class
frameworkSupertype
view
- If not passed in, the value in the currentView in the current RequestContext will be used.cache
- True if you want to cache the view.cacheTimeout
- The cache timeoutcacheLastAccessTimeout
- The last access timeout
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |