File: factory.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 (12 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
from zope.interface import Attribute, Interface

class IFactoryTool(Interface):
    """This tool manages the portal factory type registration.
    """

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

    def getFactoryTypes():
        """Return the list of factory types which use the portal factory.
        """