File: properties.py

package info (click to toggle)
zope-cmfplone 2.5.1-4etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,752 kB
  • ctags: 5,237
  • sloc: python: 28,264; xml: 3,723; php: 129; makefile: 99; sh: 2
file content (32 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
""" CMFPlone tool interfaces.

$Id: _tools.py 38762 2005-10-05 10:44:00Z yuppie $
"""

from zope.interface import Interface
from zope.interface import Attribute

#
#   Site Properties tool interface
#
class IPropertiesTool(Interface):

    """ Manage properties of the site as a whole.
    """

    id = Attribute('id', 'Must be set to "portal_properties"')

    def editProperties(props):
        """ Change portal settings.

        Permission --  Manage portal
        """

    def smtp_server():
        """ Get local SMTP server.

        Returns -- String
        """

class ISimpleItemWithProperties(Interface):
    pass