/plugins/plugin-notification.php

Description

ShrimpTest Notification plugin

This plugin emails you when an experiment's pre-set duration has been reached.

Constants
SHRIMPTEST_NOTIFICATION_FROM = 'shrimptest-noreply@'.$_SERVER['HTTP_HOST'] (line 18)

The email address from which notifications are sent.

By default, will be 'shrimptest-noreply@DOMAIN.COM'.

Functions
shrimptest_plugin_notification (line 42)

Send out an email when experiment duration is reached

array shrimptest_plugin_notification (array $stats, object $experiment)
  • array $stats
  • object $experiment
shrimptest_plugin_notification_form (line 27)

Print the notification form element in the duration extra portion of the 'Add new experiment' screen

void shrimptest_plugin_notification_form (object $experiment)
  • object $experiment

Documentation generated on Sat, 04 Sep 2010 23:40:58 -0400 by phpDocumentor 1.4.3