forked from extern/egroupware
6667cca4de
/** * Notifies users according to their preferences. * * @abstract NOTE:Notifications are small messages. No subject and no attechments. * If you need this kind of elements you probably want to send a mail, don't you :-) * @abstract NOTE: This is for instant notifications. If you need time dependend notifications use the * asyncservices wrapper! * * The classes doing the notifications are called notification_<method> and should only be * called from this class. * */
32 lines
590 B
PHP
32 lines
590 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, $_preferences );
|
|
|
|
/**
|
|
* sends notification
|
|
*
|
|
* @param string $_message
|
|
*/
|
|
public function send( $_message );
|
|
}
|