Package Products :: Package ZenModel :: Package browser :: Module Autocompleters :: Class DeviceNames |
[hide private]
[frames] | no frames]

# Class DeviceNames

source code

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

Provides device names for autocompleter population.

Adapts DeviceClasses.

Instance Methods | [hide private]
"['id1', 'id2', 'id3']" |
__call__(self, query='') Returns: A JSON representation of a list of ids | 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, query='') (Call operator) | source code
Parameters: `query` (str) - A glob by which to filter device names Returns: "['id1', 'id2', 'id3']" A JSON representation of a list of ids Decorators: `@json` `@formreq`