Events

Introduction

ZEDx includes a variety of events.

Whenever something of importance is about to happen, is happening, or has just happened, ZEDx fires an Event. As an Extension developer, your job is pretty simple: listen for the events you're interested in, and react accordingly.

For example:

  • When an Ad is validated by an Administrator, ZEDx fires the AdWasValidated event. A "Twitter Feed" Extension could listen for this event and react by sending a tweet with the ad's title and URL.
  • When an Ad is about to be created by a user, ZEDx fires the AdWillBeCreated event. A "NoSpam" Extension could listen for this event and react by checking the Ad content.

Get the idea? Great!

Available Events

Ad

Admin

Adtype

Cache

Category

Field

Ip

Menu

Page

Payment

Search Engine

Setting

Subscription

Template

User