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

35 lines
827 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 $_sender
* @param object $_recipient
2006-09-07 09:04:15 +02:00
* @param object $_preferences
*/
public function __construct( $_sender=false, $_recipient=false, $_config=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( $_subject = false, $_messages, $_attachments = false);
2006-09-07 09:04:15 +02:00
}