Package platecom :: Package langview :: Module interfaces
[hide private]
[frames] | no frames]

Source Code for Module icsemantic.langfallback.interfaces

 1  ############################################################################## 
 2  # 
 3  # Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved. 
 4  # 
 5  # This software is subject to the provisions of the Zope Public License, 
 6  # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution. 
 7  # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 
 8  # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
 9  # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 
10  # FOR A PARTICULAR PURPOSE. 
11  # 
12  ############################################################################## 
13  """ icsemantic.langfallback interfaces. 
14  """ 
15   
16  from zope.interface import Interface 
17   
18 -class IMemberDataTool(Interface):
19 """ 20 Decorate user objects with site-local data. 21 First we need some mock class... 22 >>> from minimock import Mock 23 >>> from icsemantic.langfallback.interfaces import IMemberDataTool 24 25 >>> memberdata = Mock('memberdata') 26 >>> memberdata = self.portal.portal_memberdata 27 >>> IMemberDataTool.providedBy(memberdata) 28 True 29 30 """
31