ZMObject
└─ZMView
└─ZMSavantView
└─SavantView
└─ZMEmailView
public class ZMEmailView
extends SavantView
| Method Summary | |
|---|---|
| void | __construct(string template, boolean html, array args) Create new email view. |
| string | {@inheritDoc} |
| string | {@inheritDoc} |
| Methods inherited from zenmagick.store.sf.mvc.view\SavantView | |
|---|---|
| __construct, getResourcePath, getTemplatePath | |
| 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(string template, boolean html, array args)
Create new email view.
true.public string generate(ZMRequest request)
public string getLayout()
Simple email view.
Email template are expected in the directory
[theme-views-dir]/emails. Filenames follow the pattern[$template].[html|text].php.