ZMObject
└─ZMEvents
└─Events
public class Events
extends ZMEvents
| Field Summary | |
|---|---|
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| final str | |
| Fields inherited from org.zenmagick.core.services.misc.ZMEvents | |
|---|---|
| BOOTSTRAP_DONE, INIT_DONE, INIT_PLUGIN_GROUP_DONE, eventLog_, subscribers_ | |
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Events() Create new instance. |
|
| Method Summary | |
|---|---|
| void | update(mixed notifier, string eventId, array args) Generic zen-cart observer callback that delegates to internal methods... |
| Methods inherited from org.zenmagick.core.services.misc.ZMEvents | |
|---|---|
| attach, detach, event2method, fireEvent, getEventLog, instance | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public final str ALL_DONE = 'all_done'
public final str CONTROLLER_PROCESS_END = 'controller_process_end'
public final str CONTROLLER_PROCESS_START = 'controller_process_start'
public final str CREATE_ACCOUNT = 'create_account'
public final str CREATE_ORDER = 'create_order'
public final str DISPATCH_DONE = 'dispatch_done'
public final str DISPATCH_START = 'dispatch_start'
public final str FINALISE_CONTENTS = 'finalise_contents'
public final str GENERATE_EMAIL = 'generate_email'
public final str LOGIN_SUCCESS = 'login_success'
public final str LOGOFF_SUCCESS = 'logoff_success'
public final str PASSWORD_CHANGED = 'password_changed'
public final str THEME_RESOLVED = 'theme_resolved'
public final str VIEW_DONE = 'view_done'
public final str VIEW_START = 'view_start'
public Events()
Create new instance.
public void update(mixed notifier, string eventId, array args)
Generic zen-cart observer callback that delegates to internal methods...
The actual method called is generated based on the event id.
null.
Event service.
This service will relay *all* zen-cart events to registered listeners. Subscriber have to implement the same
update(..)as for registering with zen-cart directly.