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
|
|
|
|
*
|
|
|
|
* @param object $_account
|
|
|
|
* @param object $_preferences
|
|
|
|
*/
|
2007-04-17 07:57:22 +02:00
|
|
|
public function __construct( $_account=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
|
|
|
|
*/
|
|
|
|
public function send( $_message );
|
|
|
|
}
|