Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

defined in /library/ZfExtended/Controllers/Action.php  will trigger an event on each and every controller. The different controllers are named in the following list as Controllername which are Index, Login etc.

  • beforeControllernameActionActionnameAction with parameter 'controller' containing the controller on Zend preDispatch
  • afterControllernameActionnameAction with parameter $this->view on Zend postDispatch

RestController-Events

  • beforeControllernameActionnameAction with the following parameters:
    • entity: $this->entity
    • params: all parameters
    • controller: the controller instance
  • afterSetDataInEntity with the following parameters:
    • entity: $this->entity
  • beforeSetDataInEntity with the following parameters:
    • entity: $this->entity
    • data: $this->data
  • afterControllernameActionnameAction with the following parameters:
    • entity: $this->entity
    • view: $this->view

...