[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Notification/ -> Listener.php (sommaire)

(pas de description)

Poids: 143 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Notification_Listener:: (7 méthodes):
  Notification_Listener()
  handles()
  getName()
  notify()
  getMessage()
  getEvent()
  getFlags()


Classe: Notification_Listener  - X-Ref

The Notification_Listener:: class provides functionality for displaying
messages from the message stack as a status line.

$Horde: framework/Notification/Notification/Listener.php,v 1.16.2.7 2006/01/01 21:28:29 jan Exp $

Copyright 2001-2006 Chuck Hagenbuch <chuck@horde.org>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Notification_Listener()   X-Ref
Constructor


handles($type)   X-Ref
Does this listener handle a certain type of message?

param: string $type  The message type in question.
return: boolean  Whether this listener handles the type.

getName()   X-Ref
Return a unique identifier for this listener.

return: string  Unique id.

notify(&$messageStacks, $options = array()   X-Ref
Outputs the status line, sends emails, pages, etc., if there
are any messages on this listener's message stack.

param: array &$messageStack  The stack of messages.
param: array $options        An array of options.

getMessage($message)   X-Ref
Processes one message from the message stack.

param: array $message  One message hash from the stack.

getEvent($message)   X-Ref
Unserialize an event from the message stack, checking to see if the
appropriate class exists and kludging it into a base Notification_Event
object if not.


getFlags($message)   X-Ref
Unserialize an array of event flags from the message stack.  If this
event has no flags, or the flags array could not be unserialized, an
empty array is returned.

return: array  An array of flags.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7