Back to index

plone3  3.1.7
Public Member Functions
Archetypes.generator.widget.iwidget Class Reference

List of all members.

Public Member Functions

def __call__
def getContext
def Label
def Description

Detailed Description

Definition at line 12 of file widget.py.


Member Function Documentation

def Archetypes.generator.widget.iwidget.__call__ (   instance,
  context = None 
)
Returns a rendered fragment that can be included in a larger
context when called by a renderer.

instance - the instance this widget is called for
context  - should implement dict behavior

Definition at line 13 of file widget.py.

00013 
00014     def __call__(instance, context=None):
00015         """Returns a rendered fragment that can be included in a larger
00016         context when called by a renderer.
00017 
00018         instance - the instance this widget is called for
00019         context  - should implement dict behavior
00020         """

Here is the caller graph for this function:

Returns the description, possibly translated.

Definition at line 27 of file widget.py.

00027 
00028     def Description(instance):
00029         """Returns the description, possibly translated."""

Here is the caller graph for this function:

def Archetypes.generator.widget.iwidget.getContext (   mode,
  instance 
)
Returns a prepared context or an empty {}.

Definition at line 21 of file widget.py.

00021 
00022     def getContext(mode, instance):
00023         """Returns a prepared context or an empty {}."""

Here is the caller graph for this function:

Returns the label, possibly translated.

Definition at line 24 of file widget.py.

00024 
00025     def Label(instance):
00026         """Returns the label, possibly translated."""


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