ZenMagick 0.9.8


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

Class ZMAdminView

ZMObject
└─ZMView
└─ZMSavantView
└─SavantView
└─ZMAdminView

public class ZMAdminView
extends SavantView

A view for admin pages.

Since this implementation allows to modify the template path it is also used as view for plugin admin pages.

Author:
DerManoMann
Version:
$Id: ZMAdminView.php 2769 2009-12-21 22:49:16Z dermanomann $

Constructor Summary

ZMAdminView()

Create new instance.

Method Summary
string

getLayout()

{@inheritDoc}

void

getTemplatePath(ZMRequest request)

{@inheritDoc}

void

setTemplatePath(array path)

Set the template path.

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

Constructor Detail

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

ZMAdminView

public ZMAdminView()

Create new instance.


Method Detail

\store\mvc\views\ZMAdminView.php at line 57

getLayout

public string getLayout()

Returns:
The layout name or null.

\store\mvc\views\ZMAdminView.php at line 65

getTemplatePath

public void getTemplatePath(ZMRequest request)

Parameters:
request - The current request.

\store\mvc\views\ZMAdminView.php at line 74

setTemplatePath

public void setTemplatePath(array path)

Set the template path.

Parameters:
path - The new template path.

ZenMagick 0.9.8