ZMObject
└─ZMEventFixes
public class ZMEventFixes
extends ZMObject
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| protected void | checkAuthorization(mixed request) Check authorization for the current account. |
| void | configureLocale(mixed request) Set locale based on browser settings. |
| protected void | fixCategoryPath(mixed request) Fix category path. |
| void | onNotifyCheckoutProcessAfterOrderCreateAddProducts(mixed args) Create ZenMagick order created event that contains the order id. |
| void | onNotifyHeaderEndCheckoutShipping() Validate addresses for guest checkout. |
| void | onNotifyHeaderStartCheckoutPayment() Validate addresses for guest checkout. |
| void | onZMAllDone(mixed args) Final cleanup. |
| void | onZMBootstrapDone(mixed args) More store startup code. |
| void | onZMDispatchStart(mixed args) Remove ajax requests from navigation history, grab zencart messages and fix free shipping. |
| void | onZMGenerateEmail(mixed args) Fix email context for various emails. |
| void | onZMInitDone(mixed args) Fake theme resolved event if using zen-cart templates and handle persisted messages. |
| void | onZMInitPluginGroupDone(mixed args) Keep track of loaded plugins and make available to views - part I. |
| void | onZMViewStart(mixed args) Keep track of loaded plugins and make available to views - part II. |
| protected void | sanitizeRequest(ZMRequest request) Fix a number of things... |
| void | update(mixed eventId, mixed args) Generic zen-cart event observer. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
Create new instance.
protected void checkAuthorization(mixed request)
Check authorization for the current account.
public void configureLocale(mixed request)
Set locale based on browser settings.
protected void fixCategoryPath(mixed request)
Fix category path.
public void onNotifyCheckoutProcessAfterOrderCreateAddProducts(mixed args)
Create ZenMagick order created event that contains the order id.
public void onNotifyHeaderEndCheckoutShipping()
Validate addresses for guest checkout.
public void onNotifyHeaderStartCheckoutPayment()
Validate addresses for guest checkout.
public void onZMAllDone(mixed args)
Final cleanup.
public void onZMBootstrapDone(mixed args)
More store startup code.
public void onZMDispatchStart(mixed args)
Remove ajax requests from navigation history, grab zencart messages and fix free shipping.
public void onZMGenerateEmail(mixed args)
Fix email context for various emails.
public void onZMInitDone(mixed args)
Fake theme resolved event if using zen-cart templates and handle persisted messages.
public void onZMInitPluginGroupDone(mixed args)
Keep track of loaded plugins and make available to views - part I.
public void onZMViewStart(mixed args)
Keep track of loaded plugins and make available to views - part II.
protected void sanitizeRequest(ZMRequest request)
Fix a number of things...
public void update(mixed eventId, mixed args)
Generic zen-cart event observer.
Implemented to generate some ZenMagick events triggered by zen-cart events.
Fixes and stuff that are (can be) event driven.