ZenMagick 0.9.8


org.zenmagick.store.mvc.views.ZMPluginView
\store\mvc\views\ZMPluginView.php at line 34

Class ZMPluginView

ZMObject
└─ZMView
└─ZMSavantView
└─SavantView
└─ZMPluginView

public class ZMPluginView
extends SavantView

Simple plugin view.

This view allows to display templates (full layouts or views) that are located in a plugin folder.

Author:
DerManoMann
Version:
$Id: ZMPluginView.php 2716 2009-12-11 04:00:20Z dermanomann $

Field Summary
protected mixed

$plugin_

Constructor Summary

ZMPluginView()

Create new theme view view.

Method Summary
void

getTemplatePath(ZMRequest request)

{@inheritDoc}

void

setPlugin(ZMPlugin plugin)

Set the corresponding plugin.

Methods inherited from org.zenmagick.mvc.view.SavantView
generate, getLayout, getTemplatePath, getViewDir, setLayout, setViewDir
Methods inherited from org.zenmagick.mvc.view.ZMSavantView
fetch, getResourcePath, getSavant, getTemplatePath, setConfig
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

Field Detail

\store\mvc\views\ZMPluginView.php at line 35

plugin_

protected mixed $plugin_

Constructor Detail

\store\mvc\views\ZMPluginView.php at line 41

ZMPluginView

public ZMPluginView()

Create new theme view view.


Method Detail

\store\mvc\views\ZMPluginView.php at line 71

getTemplatePath

public void getTemplatePath(ZMRequest request)

Parameters:
request - The current request.

\store\mvc\views\ZMPluginView.php at line 58

setPlugin

public void setPlugin(ZMPlugin plugin)

Set the corresponding plugin.

Parameters:
plugin - The plugin.

ZenMagick 0.9.8