ZenMagick 0.9.10


zenmagick.store.admin.mvc.controller\ZMPluginsController
mvc\controller\ZMPluginsController.php at line 30

Class ZMPluginsController

ZMObject
└─ZMController
└─ZMPluginsController

public class ZMPluginsController
extends ZMController

Admin controller for plugins.

Author:
DerManoMann

Method Summary
void

__construct(string requestId)

Create new instance.

array

getViewData(ZMRequest request)

{@inheritDoc}

ZMView

processGet(ZMRequest request)

{@inheritDoc}

ZMView

processPost(ZMRequest request)

{@inheritDoc}

protected void

refreshPluginStatus()

Refresh plugin status data.

Methods inherited from org.zenmagick.mvc.controller\ZMController
__construct, findView, getFormData, getId, getView, getViewData, isAjax, isFormSubmit, preProcess, process, processGet, processPost, setContentType, setId, setView, validate, validateFormData, validateSession
Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

mvc\controller\ZMPluginsController.php at line 35

__construct

public void __construct(string requestId)

Create new instance.

Parameters:
requestId - Optional requestId; default is null to use the request id.

mvc\controller\ZMPluginsController.php at line 50

getViewData

public array getViewData(ZMRequest request)

Get general page data.

Good to override if a custom controller needs to provide some data for both GET and POST requests.

Parameters:
request - The current request.
Returns:
Some data map.

mvc\controller\ZMPluginsController.php at line 91

processGet

public ZMView processGet(ZMRequest request)

Process a HTTP GET request.

Parameters:
request - The request to process.
Returns:
A ZMView that handles presentation or null if the controller generates the contents itself.

mvc\controller\ZMPluginsController.php at line 119

processPost

public ZMView processPost(ZMRequest request)

Process a HTTP POST request.

Parameters:
request - The request to process.
Returns:
A ZMView that handles presentation or null if the controller generates the contents itself.

mvc\controller\ZMPluginsController.php at line 69

refreshPluginStatus

protected void refreshPluginStatus()

Refresh plugin status data.


ZenMagick 0.9.10