Back to index

plone3  3.1.7
Public Member Functions
Archetypes.browser.edit.Edit Class Reference
Inheritance diagram for Archetypes.browser.edit.Edit:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.browser.edit.Edit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def isTemporaryObject
def isMultiPageSchema
def getTranslatedSchemaLabel

Detailed Description

Definition at line 12 of file edit.py.


Member Function Documentation

Definition at line 26 of file edit.py.

00026 
00027     def getTranslatedSchemaLabel(self, schema):
00028         label = u"label_schema_%s" % schema
00029         default = unicode(schema).capitalize()
00030         return _(label, default=default)

Here is the call graph for this function:

Definition at line 23 of file edit.py.

00023 
00024     def isMultiPageSchema(self):
00025         return IMultiPageSchema.providedBy(self.context)

Here is the call graph for this function:

Definition at line 15 of file edit.py.

00015 
00016     def isTemporaryObject(self):
00017         factory = getToolByName(aq_inner(self.context), 'portal_factory',
00018                                 None)
00019         if factory is not None:
00020             return factory.isTemporary(aq_inner(self.context))
00021         else:
00022             return False

Here is the call graph for this function:


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