org.puremvc.php.demos.basic.view

# 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 NAME | ### Methods __construct getApplicationView handleNotification listNotificationInterests
### Inherited Constants #### Class: Mediator Mediator::NAME | ### Inherited Variables #### Class: Mediator Mediator::$facade Mediator::$mediatorName Mediator::$viewComponent | ### Inherited Methods #### Class: Mediator Mediator::__construct() Constructor. Mediator::getMediatorName() Get the name of the Mediator . Mediator::getViewComponent() Get the Mediator 's view component. Mediator::handleNotification() Handle INotification s. Mediator::listNotificationInterests() List the INotification names this Mediator 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 INotification 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 INotification names this Mediator 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