|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.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 |
getModulesConvention()
Get layoutsConvention |
private string |
getViewsConvention()
Get viewsConvention |
private any |
implicitViewChecks()
Does implicit view rendering checks |
private any |
locateLayout(any layout)
Locate the layout to render |
private any |
locateModuleLayout(any layout, [any module=''])
Locate the view to render using module logic |
private any |
locateModuleView(any view, [any module=''])
Locate the view to render using module logic |
private any |
locateView(any view)
Locate the view to render |
Any |
renderExternalView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''])
Renders an external view |
any |
renderLayout([any layout], [any view=''], [any module=''])
Renders the current layout + view Combinations if declared |
Any |
renderView([string view=''], [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''], [string module=''])
Renders the current view |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any controller)
controller| Method Detail |
|---|
private string getAppMapping()
private string getLayoutsConvention()
private string getModulesConvention()
private string getViewsConvention()
private any implicitViewChecks()
private any locateLayout(any layout)
layout - The layout nameprivate any locateModuleLayout(any layout, [any module=''])
layout - The layout namemodule - The name of the module to explicity look for a layoutprivate any locateModuleView(any view, [any module=''])
view - The view namemodule - The name of the module to explicity look for a viewprivate any locateView(any view)
view - The view namePublic Any renderExternalView(string view, [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''])
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 timeoutcacheSuffix - Add a cache suffix to the view cache entry. Great for multi-domain caching or i18n caching.Public any renderLayout([any layout], [any view=''], [any module=''])
layout - The explicit layout to use in rendering.view - The name of the view to passthrough as an argument so you can refer to it as arguments.viewmodule - Explicitly render a layout from this modulePublic Any renderView([string view=''], [boolean cache='false'], [string cacheTimeout=''], [string cacheLastAccessTimeout=''], [string cacheSuffix=''], [string module=''])
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 timeoutcacheSuffix - Add a cache suffix to the view cache entry. Great for multi-domain caching or i18n caching.module - Explicitly render a layout from this module
|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||