mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
34 lines
722 B
PHP
34 lines
722 B
PHP
<?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>
|
|
* @version $Id$
|
|
*/
|
|
|
|
/**
|
|
* Instant user notification
|
|
*/
|
|
interface iface_notification {
|
|
|
|
/**
|
|
* constructor
|
|
*
|
|
* @param object $_account
|
|
* @param object $_preferences
|
|
*/
|
|
public function __construct( $_account=false, $_preferences=false );
|
|
|
|
/**
|
|
* sends notification
|
|
*
|
|
* @abstract NOTE, $_message contains some html-tags (<p><a><b><br>)
|
|
* implementing class needs to handle them somehow.
|
|
* @param string $_message
|
|
*/
|
|
public function send( $_message );
|
|
}
|