Class Notification_Listener_javascript

Description

The Notification_Listener_javascript:: class provides functionality for inserting javascript code from the message stack into the page.

$Horde: framework/Notification/Notification/Listener/javascript.php,v 1.7.10.10 2009/01/06 15:23:29 jan Exp $

Copyright 2004-2009 The Horde Project (http://www.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.

Located in /Notification/Notification/Listener/javascript.php (line 20)

Notification_Listener
   |
   --Notification_Listener_javascript
Method Summary
 Notification_Listener_javascript Notification_Listener_javascript ()
 void getMessage (array $message)
 string getName ()
 void notify (array &$messageStack, [array $options = array()])
Variables

Inherited Variables

Inherited from Notification_Listener

Notification_Listener::$_handles
Methods
Constructor Notification_Listener_javascript (line 25)

Constructor

Notification_Listener_javascript Notification_Listener_javascript ()
getMessage (line 83)

Outputs one message.

void getMessage (array $message)
  • array $message: One message hash from the stack.

Redefinition of:
Notification_Listener::getMessage()
Processes one message from the message stack.
getName (line 36)

Return a unique identifier for this listener.

  • return: Unique id.
string getName ()

Redefinition of:
Notification_Listener::getName()
Return a unique identifier for this listener.
notify (line 48)

Outputs the javascript code if there are any messages on the 'javascript' message stack and if the 'notify_javascript' option is set.

void notify (array &$messageStack, [array $options = array()])
  • array &$messageStack: The stack of messages.
  • array $options: An array of options. Options: 'noscript'

Redefinition of:
Notification_Listener::notify()
Outputs the status line, sends emails, pages, etc., if there are any messages on this listener's message stack.

Inherited Methods

Inherited From Notification_Listener

 Notification_Listener::Notification_Listener()
 Notification_Listener::getEvent()
 Notification_Listener::getFlags()
 Notification_Listener::getMessage()
 Notification_Listener::getName()
 Notification_Listener::handles()
 Notification_Listener::notify()

Documentation generated on Sun, 30 Jan 2011 05:18:40 +0000 by phpDocumentor 1.4.3