ZenMagick 0.9.11


zenmagick.store.admin.mvc.controller\ZMCacheAdminController
mvc\controller\ZMCacheAdminController.php at line 31

Class ZMCacheAdminController

ZMObject
└─ZMController
└─ZMCacheAdminController

public class ZMCacheAdminController
extends ZMController

Admin controller for cache admin.

Author:
DerManoMann
Todo:
move hash calculation into controller

Method Summary
void

__construct(array properties, string requestId)

Create new instance.

array

getViewData(ZMRequest request)

{@inheritDoc}

ZMView

processGet(ZMRequest request)

{@inheritDoc}

ZMView

processPost(ZMRequest request)

{@inheritDoc}

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

Method Detail

mvc\controller\ZMCacheAdminController.php at line 36

__construct

public void __construct(array properties, string requestId)

Create new instance.

Parameters:
properties - Optional properties; default is an empty array;

mvc\controller\ZMCacheAdminController.php at line 51

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\ZMCacheAdminController.php at line 58

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\ZMCacheAdminController.php at line 65

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.

ZenMagick 0.9.11