2006-09-07 09:04:15 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* eGroupWare - Notifications
|
|
|
|
*
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package notifications
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @author Cornelius Weiss <nelius@cwtech.de>
|
2006-09-25 12:16:19 +02:00
|
|
|
* @version $Id$
|
2006-09-07 09:04:15 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Instant user notification
|
|
|
|
*/
|
|
|
|
interface iface_notification {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* constructor
|
|
|
|
*
|
2007-11-22 09:29:16 +01:00
|
|
|
* @param object $_sender
|
|
|
|
* @param object $_recipient
|
2006-09-07 09:04:15 +02:00
|
|
|
* @param object $_preferences
|
|
|
|
*/
|
2007-11-22 09:29:16 +01:00
|
|
|
public function __construct( $_sender=false, $_recipient=false, $_config=false, $_preferences=false );
|
2006-09-07 09:04:15 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* sends notification
|
|
|
|
*
|
2007-06-18 10:48:43 +02:00
|
|
|
* @abstract NOTE, $_message contains some html-tags (<p><a><b><br>)
|
|
|
|
* implementing class needs to handle them somehow.
|
2006-09-07 09:04:15 +02:00
|
|
|
* @param string $_message
|
|
|
|
*/
|
2007-11-22 09:29:16 +01:00
|
|
|
public function send( $_subject = false, $_messages, $_attachments = false);
|
2006-09-07 09:04:15 +02:00
|
|
|
}
|