phpDocumentor Notification
Classes
[ class tree: Notification ] [ index: Notification ] [ all elements ]

Class: NotificationHandler_1_0

Source Location: /modules/notification/classes/NotificationHandler_1_0.class

Class NotificationHandler_1_0

Class Overview

This is an interface for alternative notification methods for the notification module.

Located in /modules/notification/classes/NotificationHandler_1_0.class [line 36]



		
				Author(s):
		
API Tags:
Abstract:  

Methods

[ Top ]
Method Summary
array   getDescription()   Return a localized description of the handler.
GalleryStatus   handleNotification()   Handle the event.
array   _translateText()   Provide a common routine to do translations of descriptions

[ Top ]
Methods
getDescription  [line 43]

  array getDescription( )

Return a localized description of the handler.


API Tags:
Return:  GalleryStatus string Localized description of the handler.
Abstract:  


Redefined in descendants as:

[ Top ]
handleNotification  [line 54]

  GalleryStatus handleNotification( array $subscribers, NotificationEvent_1_0 $notification  )

Handle the event.

Parameters:
array   $subscribers:  Array of userIds to send the notification to
NotificationEvent_1_0   $notification:  The event notification descriptor

API Tags:
Abstract:  


Redefined in descendants as:

[ Top ]
_translateText  [line 66]

  array _translateText( string $moduleId, mixed $translateParms  )

Provide a common routine to do translations of descriptions

Parameters:
string   $moduleId:  the module id
mixed   $translateParms:  parameters to the module translate method

API Tags:
Return:  GalleryStatus string A formatted and localized plain text message.
Access:  protected


[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:42:23 -0700 by phpDocumentor 1.3.0RC6