Back to index

plone3  3.1.7
properties.py
Go to the documentation of this file.
00001 """ CMFPlone tool interfaces.
00002 
00003 $Id: _tools.py 38762 2005-10-05 10:44:00Z yuppie $
00004 """
00005 
00006 from zope.interface import Interface
00007 from zope.interface import Attribute
00008 
00009 #
00010 #   Site Properties tool interface
00011 #
00012 class IPropertiesTool(Interface):
00013 
00014     """ Manage properties of the site as a whole.
00015     """
00016 
00017     id = Attribute('id', 'Must be set to "portal_properties"')
00018 
00019     def editProperties(props):
00020         """ Change portal settings.
00021 
00022         Permission --  Manage portal
00023         """
00024 
00025     def smtp_server():
00026         """ Get local SMTP server.
00027 
00028         Returns -- String
00029         """
00030 
00031 class ISimpleItemWithProperties(Interface):
00032     pass