ZMObject
└─ZMRequest
└─Request
public class Request
extends ZMRequest
| Method Summary | |
|---|---|
| void | __construct(array parameter) Create new instance. |
| int | Get the current category id. |
| string | Get the current category path. |
| array | Get the category path arry. |
| int | Get the product id. |
| ZMLanguage | Get the selected language. |
| boolean | Deal with demo/non-live user. |
| Methods inherited from org.zenmagick.mvc\ZMRequest | |
|---|---|
| __construct, absoluteURL, closeSession, getContext, getController, getFollowUpUrl, getHostname, getMethod, getParameter, getParameterMap, getPort, getProtocol, getQueryString, getRequestId, getRequestIdKey, getSeoRewriter, getSession, getTemplatePath, getToolbox, getUri, getUser, getWebPath, instance, isSecure, redirect, saveFollowUpUrl, seoDecode, setController, setMethod, setParameter, setParameterMap, setRequestId, setSession, url, validateSessionToken | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct(array parameter)
Create new instance.
null, $_GET and $_POST will be used.public int getCategoryId()
Get the current category id.
0.public string getCategoryPath()
Get the current category path.
cPath) or null.public array getCategoryPathArray()
Get the category path arry.
public int getProductId()
Get the product id.
0.public ZMLanguage getSelectedLanguage()
Get the selected language.
Determine the currently active language, with respect to potentially selected language from a dropdown in admin UI.
public boolean handleDemo()
Deal with demo/non-live user.
Will create a message that the requested functionallity is not availale for demo users.
true if the current user is a demo user.
Admin request wrapper.