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

Class: NotificationRouterTest2

Source Location: /modules/notification/test/phpunit/NotificationEventHandlingTest.class

Class NotificationRouterTest2

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From NotificationEvent_1_0

NotificationEvent_1_0::$_event

Inherited From NotificationEvent_1_0

NotificationEvent_1_0::getDescription()
Return a localized description of the event.
NotificationEvent_1_0::getEvent()
Set the event that caused this notification to be created.
NotificationEvent_1_0::getEventSpecs()
Returns the Event Specification The event specification determines the selection criteria for the particular event. The only required entry is 'eventName'.
NotificationEvent_1_0::getItemId()
Get the item id contained in the event or return 0 if there is no item id.
NotificationEvent_1_0::getNotificationMessage()
Return a formatted and localized plain text message describing the event to be used in any notification message.
NotificationEvent_1_0::getPermission()
What permission of the item should be checked to see if a user is allowed to get that event. Setting to null will limit the notifications to administrators
NotificationEvent_1_0::isAppropriateForItem()
Determines if the event is appropriate for the supplied item. This could be null and might not be an object.
NotificationEvent_1_0::isGlobal()
Determines if this notification is global or applies to an item
NotificationEvent_1_0::setEvent()
Set the event that caused this notification to be created.
NotificationEvent_1_0::_translateText()
Provide a common routine to do translations of descriptions and messages

[ Top ]
Method Summary
void   getDescription()  
void   getItemId()  
void   getPermission()  
void   isAppropriateForItem()  

[ Top ]
Methods
getDescription  [line 539]

  void getDescription( )



Redefinition of:
NotificationEvent_1_0::getDescription()
Return a localized description of the event.

[ Top ]
getItemId  [line 548]

  void getItemId( )



Redefinition of:
NotificationEvent_1_0::getItemId()
Get the item id contained in the event or return 0 if there is no item id.

[ Top ]
getPermission  [line 544]

  void getPermission( )



Redefinition of:
NotificationEvent_1_0::getPermission()
What permission of the item should be checked to see if a user is allowed to get that event. Setting to null will limit the notifications to administrators

[ Top ]
isAppropriateForItem  [line 552]

  void isAppropriateForItem( $item  )

Parameters:
   $item: 


Redefinition of:
NotificationEvent_1_0::isAppropriateForItem()
Determines if the event is appropriate for the supplied item. This could be null and might not be an object.

[ Top ]

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