ZenMagick 0.9.6


org.zenmagick.misc.ZMEventFixes

Class ZMEventFixes

ZMObject
|
+--ZMEventFixes

public class ZMEventFixes
extends ZMObject

Fixes and stuff that are (can be) event driven.

Author:
DerManoMann
Version:
$Id: ZMEventFixes.php 2213 2009-05-09 08:25:40Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMEventFixes()

Create new instance.

Method Summary
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

onZMBootstrapDone()

More store startup code.

void

onZMDispatchStart()

Remove ajax requests from navigation history.

void

onZMGenerateEmail(mixed args)

Fix email context for various emails.

void

onZMInitDone()

Fake theme resolved event if using zen-cart templates and handle persisted messages.

void

update(mixed eventId, mixed args)

Generic zen-cart event observer.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMEventFixes

public ZMEventFixes()

Create new instance. /


Method Detail

onNotifyCheckoutProcessAfterOrderCreateAddProducts

public void onNotifyCheckoutProcessAfterOrderCreateAddProducts(mixed args)

Create ZenMagick order created event that contains the order id. /


onNotifyHeaderEndCheckoutShipping

public void onNotifyHeaderEndCheckoutShipping()

Validate addresses for guest checkout. /


onNotifyHeaderStartCheckoutPayment

public void onNotifyHeaderStartCheckoutPayment()

Validate addresses for guest checkout. /


onZMBootstrapDone

public void onZMBootstrapDone()

More store startup code. /


onZMDispatchStart

public void onZMDispatchStart()

Remove ajax requests from navigation history. /


onZMGenerateEmail

public void onZMGenerateEmail(mixed args)

Fix email context for various emails. /


onZMInitDone

public void onZMInitDone()

Fake theme resolved event if using zen-cart templates and handle persisted messages. /


update

public void update(mixed eventId, mixed args)

Generic zen-cart event observer.

Implemented to generate some ZenMagick events triggered by zen-cart events.

/


ZenMagick 0.9.6