source: products/quintagroup.camefrominfo/trunk/quintagroup/camefrominfo/browser/browser.py @ 1121

Last change on this file since 1121 was 1121, checked in by kroman0, 15 years ago

Updated quintagroup.camefrominfo package

File size: 360 bytes
Line 
1from Products.Five import BrowserView
2from quintagroup.camefrominfo.interfaces import ICameFromInfoUtility
3from zope.component import getUtility
4
5class CameFromInfoView(BrowserView):
6    """
7    """
8    def __call__(self):
9        """get info"""
10        service = getUtility(ICameFromInfoUtility)
11        res = service.getInfo(self.context)
12        return res
Note: See TracBrowser for help on using the repository browser.