Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* Abstract class for notifications.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Notification
*/
abstract class Ai1ec_Notification extends Ai1ec_Base {
/**
* @var string The message to send.
*/
protected $_message;
/**
* @var array A list of recipients.
*/
protected $_recipients = array();
/**
* This function performs the actual sending of the message.
*
* Must be implemented in child classes.
*
* @return bool Success.
*/
abstract public function send();
}