FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Plugin Actions

Introduction

Actions are events (or hooks) to which callback functions can be attached.

In the example below, the event is report_add, and the email_subscribers callback is attached to this particular event. Whenever this event is encountered, all the associated plugins that are attached to this event will be executed.

Example:

Reference

Unknown macro: {table-plus}

Action

Parameter

Description

File

report_delete

$incident_id

Report deleted

applications/controllers/admin/reports.php

report_meta

$incident_id

Add items to the Report Meta

applications/themes/default/reports_view.php

report_form_admin

 

 

 

 

 

 

 

  • No labels