ZenMagick 0.9.8


org.zenmagick.store.mvc.tools.ZMToolboxAdmin
\store\mvc\tools\ZMToolboxAdmin.php at line 34

Class ZMToolboxAdmin

ZMObject
└─ZMToolboxTool
└─ZMToolboxAdmin

public class ZMToolboxAdmin
extends ZMToolboxTool

Admin related functions.

Author:
DerManoMann
Version:
$Id: ZMToolboxAdmin.php 2700 2009-12-07 00:19:35Z dermanomann $

Fields inherited from org.zenmagick.toolbox.ZMToolboxTool
request_, toolbox_
Fields inherited from org.zenmagick.core.ZMObject
properties_
Method Summary
ZMView

getViewForFkt(ZMRequest request, string function, boolean forceGet)

Get a view for the given function value.

string

url(string requestId, string params, boolean secure, boolean echo)

Create a plugin admin page URL.

Methods inherited from org.zenmagick.toolbox.ZMToolboxTool
getRequest, getToolbox, setRequest, setToolbox
Methods inherited from org.zenmagick.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Method Detail

\store\mvc\tools\ZMToolboxAdmin.php at line 68

getViewForFkt

public ZMView getViewForFkt(ZMRequest request, string function, boolean forceGet)

Get a view for the given function value.

Parameters:
request - The current request.
function - The function/controller name.
forceGet - Optional flag to force processing the request as GET rather than what it actually is; default is false.
Returns:
A view or null.

\store\mvc\tools\ZMToolboxAdmin.php at line 45

url

public string url(string requestId, string params, boolean secure, boolean echo)

Create a plugin admin page URL.

Parameters:
requestId - The request id.
params - Query string style parameter; if ''.
secure - Flag to create a secure url; default is true.
echo - If true, the URI will be echo'ed as well as returned.
Returns:
A full URL.

ZenMagick 0.9.8