egroupware/notifications/inc/class.iface_notification.inc.php
Cornelius Weiß 6667cca4de New notificaion module
/**
 * 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.
 *
 */
2006-03-06 17:11:45 +00:00

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 );
}