egroupware/notifications/inc/class.iface_notification.inc.php

34 lines
722 B
PHP
Raw Normal View History

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