Class Notification_Listener_mobile

Description

The Notification_Listener_mobile:: class provides functionality for displaying messages from the message stack on mobile devices.

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

Copyright 2003-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/mobile.php (line 20)

Notification_Listener
   |
   --Notification_Listener_status
      |
      --Notification_Listener_mobile
Variable Summary
Method Summary
 Notification_Listener_mobile Notification_Listener_mobile ()
 void getMessage (array $message)
 string getName ()
 void notify (array &$messageStack, [array $options = array()])
 void setMobileObject (Horde_Mobile &$mobile)
Variables
Horde_Mobile $_mobile = null (line 27)

The Horde_Mobile:: object that status lines should be added to.

Inherited Variables

Inherited from Notification_Listener

Notification_Listener::$_handles
Methods
Constructor Notification_Listener_mobile (line 32)

Constructor

Notification_Listener_mobile Notification_Listener_mobile ()
getMessage (line 88)

Outputs one message.

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

Redefinition of:
Notification_Listener_status::getMessage()
Outputs one message.
getName (line 55)

Return a unique identifier for this listener.

  • return: Unique id.
string getName ()

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

Outputs the status line if there are any messages on the 'mobile' message stack.

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

Redefinition of:
Notification_Listener_status::notify()
Outputs the status line if there are any messages on the 'status' message stack.
setMobileObject (line 45)

Associate a Horde_Mobile:: object with the listener.

void setMobileObject (Horde_Mobile &$mobile)
  • Horde_Mobile &$mobile: The Horde_Mobile:: object to send status lines to.

Inherited Methods

Inherited From Notification_Listener_status

 Notification_Listener_status::Notification_Listener_status()
 Notification_Listener_status::getMessage()
 Notification_Listener_status::getName()
 Notification_Listener_status::notify()

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:19:43 +0000 by phpDocumentor 1.4.3