Package Products :: Package ZenWidgets :: Package browser :: Module Portlets :: Class UserMessagesPortletView |
[hide private]
[frames] | no frames]

# Class UserMessagesPortletView

source code

                  Acquisition.Explicit --+
                                         |
            zope.location.Location --+   |
                                     |   |
    zope.publisher.browser.BrowserView --+
                                         |
                  Five.browser.BrowserView --+
                                             |
                                            UserMessagesPortletView

User messages in YUI table form, for the dashboard portlet.

Instance Methods | [hide private]
__call__(self) Get heartbeat issues in a form suitable for a portlet on the dashboard. | source code
Inherited from `zope.publisher.browser.BrowserView`: `__init__`

Class Variables | [hide private]
Inherited from `zope.publisher.browser.BrowserView`: `__parent__`

Method Details | [hide private]

### __call__(self) (Call operator) | source code
    Get heartbeat issues in a form suitable for a portlet on the dashboard.

    @return: A JSON representation of a dictionary describing heartbeats
    @rtype: "{
        'columns':['Device', 'Daemon', 'Seconds'],
        'data':[
            {'Device':'<a href=/>', 'Daemon':'zenhub', 'Seconds':10}
        ]}"
Decorators: `@json`