ZMObject
└─ZMView
└─ZMSavantView
public class ZMSavantView
extends ZMView
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| string | fetch(mixed request, string template, request The) {@inheritDoc} |
| void | getResourcePath(ZMRequest request) Get the array of locations to search for resources. |
| protected Savant3 | Get a preconfigured Savant3 instance. |
| void | getTemplatePath(ZMRequest request) Get the array of locations to search for templates. |
| void | setConfig(mixed config) Set savant specific configuration options. |
| Methods inherited from org.zenmagick.mvc.view.ZMView | |
|---|---|
| fetch, generate, getContentType, getEncoding, getTemplate, getVars, getViewId, isValid, setTemplate, setVar, setVars, setViewId | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMSavantView()
Create new instance.
public string fetch(mixed request, string template, request The)
public void getResourcePath(ZMRequest request)
Get the array of locations to search for resources.
This default implementation will just return getTemplatePath($request).
protected Savant3 getSavant(ZMRequest request)
Get a preconfigured Savant3 instance.
public void getTemplatePath(ZMRequest request)
Get the array of locations to search for templates.
public void setConfig(mixed config)
Set savant specific configuration options.
A Savant(3) view.