org.puremvc.php.patterns.observer

# Class: Notification Source Location: /patterns/observer/Notification.php
### Class Overview
A base INotification implementation. #### Author(s): Implements interfaces: INotification | ### Methods Notification getBody getName getType setBody setType toString
### Class Details [line 23] A base INotification implementation. #### Tags:
see: | org.puremvc.php.patterns.observer.Observer Observer
[ Top ] ### Class Methods ### constructor Notification [line 39]
`Notification Notification( name $name, [body $body = null], [type $type = null])`
Constructor. #### Tags:
access: | public
#### Parameters:
name | $name | name of the Notification instance. (required)
body | $body | the Notification body. (optional)
type | $type | the type of the Notification (optional)
[ Top ] ### method getBody [line 69]
`the getBody( )`
Get the body of the Notification instance. #### Tags:
return: | body object.
access: | public
[ Top ] ### method getName [line 51]
`the getName( )`
Get the name of the Notification instance. #### Tags:
return: | name of the Notification instance.
access: | public
[ Top ] ### method getType [line 87]
`the getType( )`
Get the type of the Notification instance. #### Tags:
return: | type
access: | public
[ Top ] ### method setBody [line 59]
`void setBody( $body)`
Set the body of the Notification instance. #### Tags:
access: | public
#### Parameters:
| $body |
[ Top ] ### method setType [line 77]
`void setType( $type)`
Set the type of the Notification instance. #### Tags:
access: | public
#### Parameters:
| $type |
[ Top ] ### method toString [line 97]
`the toString( )`
Get the string representation of the Notification instance. #### Tags:
return: | string representation of the Notification instance.
access: | public
[ Top ] Documentation generated on Tue, 30 Sep 2008 08:05:45 -0700 by phpDocumentor 1.4.0