org.puremvc.php.demos.basic.view
[ class tree: org.puremvc.php.demos.basic.view ] [ index: org.puremvc.php.demos.basic.view ] [ all elements ]

Class: ApplicationMediator

Source Location: /demos/basic/view/ApplicationMediator.php

Class Overview

Notifier
   |
   ..Mediator
      |
      ..ApplicationMediator

The ApplicationMediator updates the display of the view when data is ready to be displayed.


Constants

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: Mediator

Mediator::__construct()
Constructor.
Mediator::getMediatorName()
Get the name of the
.
Mediator::getViewComponent()
Get the
's view component.
Mediator::handleNotification()
Handle
s.
Mediator::listNotificationInterests()
List the
names this
is interested in being notified of.
Mediator::onRegister()
Called when the View registers a Mediator.
Mediator::onRemove()
Called when the View removes a Mediator.
Mediator::setViewComponent()

Class: Notifier

Notifier::__construct()
Notifier::sendNotification()

Class Details

[line 22]
The ApplicationMediator updates the display of the view when data is ready to be displayed.



[ Top ]


Class Methods


constructor __construct [line 29]

ApplicationMediator __construct( $view)

Constructor



Tags:

access:  public


Overrides Mediator::__construct() (Constructor.)

Parameters:

   $view  

[ Top ]

method getApplicationView [line 83]

ApplicationView getApplicationView( )

Public getter for the view class instance.



Tags:

return:  object.
access:  public


[ Top ]

method handleNotification [line 48]

void handleNotification( $notification)

Handles notifications sent by the PureMVC framework that this Mediator is interested in.



Tags:

access:  public


Overrides Mediator::handleNotification() (Handle
s.)

Parameters:

INotification   $notification  

[ Top ]

method listNotificationInterests [line 39]

void listNotificationInterests( )

Lists the notifications that this mediator is interested in.

VIEW_DATA_READY is sent by the ApplicationDataProxy when it is done loading data.




Tags:

access:  public


Overrides Mediator::listNotificationInterests() (List the
names this
is interested in being notified of.)

[ Top ]


Class Constants

NAME =  "ApplicationMediator"

[line 24]


[ Top ]



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