Skip to content
barryo edited this page Dec 10, 2012 · 15 revisions

There is a new plugin architecture which will be available from ViMbAdmin V3.

There are two types of plugins:

  • system plugins - plugins which are bundled with ViMbAdmin;
  • non-system / third party plugins - these will be available through modules (standard Zend Framework structure).

Examples

  1. System Plugin - Access Permissions

Available Hooks

We will list available hooks here. Please open a pull request to add additional hooks.

Hooks for Mailboxes

  • Adding / editing mailboxes
    • formPostProcess - called after the add / edit form has been instantiated;
    • addPrepare - called just before we determine if an add / edit form has been posted;
    • addPrevalidate - called just before $form->isValid() is called;
    • addPostvalidate - called just after a successful $form->isValid();
    • addPreflush - called just before the database is flushed;
    • addPostflush - called just after the database is flushed;