Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFPlone.interfaces.interface.IInterfaceTool Class Reference
Inheritance diagram for CMFPlone.interfaces.interface.IInterfaceTool:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.interfaces.interface.IInterfaceTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def objectImplements
def classImplements
def namesAndDescriptions

Static Public Attributes

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

Detailed Description

This tool exposes the interface package for TTW applications,
by accepting a dotted name of an interface and exporting the
IInterface API 

Definition at line 4 of file interface.py.


Member Function Documentation

Asserts if an object's class implements a given interface 

Definition at line 14 of file interface.py.

00014 
00015     def classImplements(obj, dotted_name):
00016         """ Asserts if an object's class implements a given interface """

Returns a list of pairs (name, description) for a given
interface

Definition at line 17 of file interface.py.

00017 
00018     def namesAndDescriptions(dotted_name, all=0):
00019         """ Returns a list of pairs (name, description) for a given
00020         interface"""
Asserts if an object implements a given interface 

Definition at line 11 of file interface.py.

00011 
00012     def objectImplements(obj, dotted_name):
00013         """ Asserts if an object implements a given interface """


Member Data Documentation

tuple CMFPlone.interfaces.interface.IInterfaceTool.id = Attribute('id', 'Must be set to "portal_interface"') [static]

Definition at line 9 of file interface.py.


The documentation for this class was generated from the following file: