guava
[ class tree: guava ] [ index: guava ] [ all elements ]

Class: MonitorHomeView

Source Location: /guava/trunk/packages/monitor/views/home.inc.php

Class Overview

View
   |
   --MonitorHomeView

View is a controller for part of an application. It receives events from guava and decices what to do with them.


Methods


Inherited Methods

Class: View

View::__construct()
You must call the constructor to initialize the sidenav variable.
View::addMenuItem()
View::close()
Must be provided by derived classes. This method is called whenever the user moves away from this view. You should clean up any variables or store them in QOLT to reduce session memory loadtime.
View::Disable()
View::disableRefresh()
Disables the view's refresh.
View::enableRefresh()
Enables this view's refresh and sets it's loop timer minimum. If processing during the loop takes longer than the refreshTimer, the framework will dynamically size the window.
View::getRefreshTimer()
This function will tell you if refresh is active, and what the base timer is set at.
View::getSideNav()
Returns the top NavNode object for the sidenav requested or all NavNodes if no sidenav is requested.
View::init()
Must be provided by derived classes. This method is called whenever the user switches to this view.
View::isDisabled()
View::isSideNavEnabled()
Ask the view if the side nav is enabled to be rendered.
View::menuCommand()
Need to declare in derived classes. This method is called whenever a menu option is selected.
View::menuCommandSelect()
Call this to tell the menu to select an option. This should be called in your menuCommand method.
View::menuListen()
Adds a menu item to the menu bar.
View::menuRender()
Called by the framework to render this view's menu.
View::printFooter()
View::printHeader()
View::printTarget()
Prints the target into the output buffer
View::refresh()
Must be provided by derived classes. This method is called whenever the page is refreshed by browser refresh or by AJAX calls.
View::removeTarget()
Removes the target from this view's target collection, specified by name.
View::removeTargets()
Removes all targets from the view's target collection.
View::render()
Must be provided by derived classes. This method is called whenever the view is asked to render into the main view frame.
View::sendTargets()
Called by AJAX requests to send the targets inside this view.
View::sideNavCreate()
Use to create a top level sidenav.
View::sideNavDestroy()
Destroy the sidenav requested.
View::sideNavDestroyAll()
Call if you want to destroy all sidenavs
View::sideNavEnable()
This function sets the sidenav for this view to render or not render.
View::sideNavRender()
Called by the framework to render this view's sidenavs.
View::targetData()
If the target with the name does not exist, it adds it to the target data collection of this view. If it does exist, it will update it's value and update flag.
View::tooltip()

Class Details

[line 3]
View is a controller for part of an application. It receives events from guava and decices what to do with them.



[ Top ]


Class Methods


constructor __construct [line 4]

MonitorHomeView __construct( )



Overrides View::__construct() (You must call the constructor to initialize the sidenav variable.)

[ Top ]

method close [line 12]

void close( )



Tags:

access:  public


Overrides View::close() (Must be provided by derived classes. This method is called whenever the user moves away from this view. You should clean up any variables or store them in QOLT to reduce session memory loadtime.)

[ Top ]

method init [line 8]

void init( )



Tags:

access:  public


Overrides View::init() (Must be provided by derived classes. This method is called whenever the user switches to this view.)

[ Top ]

method menuCommand [line 20]

void menuCommand( mixed $command)



Tags:

access:  public


Overrides View::menuCommand() (Need to declare in derived classes. This method is called whenever a menu option is selected.)

[ Top ]

method refresh [line 16]

void refresh( )



Tags:

access:  public


Overrides View::refresh() (Must be provided by derived classes. This method is called whenever the page is refreshed by browser refresh or by AJAX calls.)

[ Top ]

method render [line 28]

void render( )



Tags:

access:  public


Overrides View::render() (Must be provided by derived classes. This method is called whenever the view is asked to render into the main view frame.)

[ Top ]

method sideNavValue [line 24]

void sideNavValue( mixed $value)



Tags:

access:  public


[ Top ]


Documentation generated on Wed, 21 Dec 2005 14:35:59 -0800 by phpDocumentor 1.3.0RC3