org.puremvc.php.patterns.observer
[ class tree: org.puremvc.php.patterns.observer ] [ index: org.puremvc.php.patterns.observer ] [ all elements ]

Class: Notification

Source Location: /patterns/observer/Notification.php

Class Overview


A base
implementation.


Author(s):

Implements interfaces:

Methods



Class Details

[line 23]
A base
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
instance. (required)
body   $body   the
body. (optional)
type   $type   the type of the
(optional)

[ Top ]

method getBody [line 69]

the getBody( )

Get the body of the
instance.



Tags:

return:  body object.
access:  public


[ Top ]

method getName [line 51]

the getName( )

Get the name of the
instance.



Tags:

return:  name of the
instance.
access:  public


[ Top ]

method getType [line 87]

the getType( )

Get the type of the
instance.



Tags:

return:  type
access:  public


[ Top ]

method setBody [line 59]

void setBody( $body)

Set the body of the
instance.



Tags:

access:  public


Parameters:

   $body  

[ Top ]

method setType [line 77]

void setType( $type)

Set the type of the
instance.



Tags:

access:  public


Parameters:

   $type  

[ Top ]

method toString [line 97]

the toString( )

Get the string representation of the
instance.



Tags:

return:  string representation of the
instance.
access:  public


[ Top ]


Documentation generated on Tue, 30 Sep 2008 08:05:45 -0700 by phpDocumentor 1.4.0