ZMObject
└─ZMView
└─ZMSavantView
└─SavantView
public class SavantView
extends ZMSavantView
| Method Summary | |
|---|---|
| void | Create new instance. |
| array | getResourcePath(ZMRequest request) Get the array of locations to search for resources. This default implementation will just return getTemplatePath($request). Same as template path. |
| array | getTemplatePath(ZMRequest request) Get the array of locations to search for templates. The template path will contain each active plugin's base directory, the default theme's content directory and the active theme's content directory. |
| Methods inherited from org.zenmagick.mvc.view\ZMSavantView | |
|---|---|
| __construct, asUrl, exists, fetch, generate, getFilterList, getFilters, getLayout, getResourcePath, getSavant, getTemplate, getTemplatePath, getViewDir, getViewUtils, path, setConfig, setFilters, setLayout, setViewDir | |
| Methods inherited from org.zenmagick.mvc.view\ZMView | |
|---|---|
| __construct, asUrl, exists, fetch, generate, getContentType, getEncoding, getTemplate, getVar, getVars, getViewId, getViewUtils, isValid, path, setTemplate, setVar, setVars, setViewId | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
Create new instance.
public array getResourcePath(ZMRequest request)
Get the array of locations to search for resources.
This default implementation will just return getTemplatePath($request).
Same as template path.
public array getTemplatePath(ZMRequest request)
Get the array of locations to search for templates.
The template path will contain each active plugin's base directory, the default theme's content directory and the active theme's content directory.
A Savant(3) view with theme support and adjustment for theme folder structures (viewDir).