1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11103] Interface docblocks

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-10-18 19:13:47 -05:00
parent eb07b3ad9c
commit f96dac3352
6 changed files with 229 additions and 89 deletions

View File

@@ -21,7 +21,26 @@ if (!defined('IN_PHPBB'))
*/
interface phpbb_notification_method_interface
{
/**
* Is this method available for the user?
* This is checked on the notifications options
*/
public function is_available();
/**
* Add a notification to the queue
*
* @param phpbb_notification_type_interface $notification
*/
public function add_to_queue(phpbb_notification_type_interface $notification);
/**
* Empty the queue
*/
protected function empty_queue();
/**
* Parse the queue and notify the users
*/
public function notify();
}