Back to index

plone3  3.1.7
Public Member Functions
CMFCore.interfaces._content.IDynamicType Class Reference
Inheritance diagram for CMFCore.interfaces._content.IDynamicType:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.interfaces._content.IDynamicType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getPortalTypeName
def getTypeInfo
def getActionInfo
def getIcon

Detailed Description

General interface for dynamic items.

Definition at line 471 of file _content.py.


Member Function Documentation

def CMFCore.interfaces._content.IDynamicType.getActionInfo (   action_chain,
  check_visibility = 0,
  check_condition = 0 
)
Get an Action info mapping specified by a chain of actions.

o A shortcut to 'getActionInfo' of the related ITypeInformation
  object.

o Permission:  Public

Definition at line 492 of file _content.py.

00492 
00493     def getActionInfo(action_chain, check_visibility=0, check_condition=0):
00494         """ Get an Action info mapping specified by a chain of actions.
00495 
00496         o A shortcut to 'getActionInfo' of the related ITypeInformation
00497           object.
00498 
00499         o Permission:  Public
00500         """

def CMFCore.interfaces._content.IDynamicType.getIcon (   relative_to_portal = False)
Get the path to an object's icon.

o This method is used in the 'folder_contents' view to generate an
  appropriate icon for the items found in the folder.

o If the content item does not define an attribute named "icon"
  return a "default" icon path (e.g., '/misc_/dtmldoc.gif', which is
  the icon used for DTML Documents).

o If 'relative_to_portal' is True, return only the portion of
  the icon's URL which finds it "within" the portal;  otherwise,
  return it as an absolute URL.

o Permission:  Public

Definition at line 501 of file _content.py.

00501 
00502     def getIcon(relative_to_portal=False):
00503         """ Get the path to an object's icon.
00504 
00505         o This method is used in the 'folder_contents' view to generate an
00506           appropriate icon for the items found in the folder.
00507 
00508         o If the content item does not define an attribute named "icon"
00509           return a "default" icon path (e.g., '/misc_/dtmldoc.gif', which is
00510           the icon used for DTML Documents).
00511 
00512         o If 'relative_to_portal' is True, return only the portion of
00513           the icon's URL which finds it "within" the portal;  otherwise,
00514           return it as an absolute URL.
00515 
00516         o Permission:  Public
00517         """
00518 
00519 
00520 #
00521 #   Folderish interfaces
#

Here is the caller graph for this function:

General interface for dynamic items.
Return the name of the type information for this object.

o If the object is uninitialized, return None.

o Permission:  Public

Definition at line 476 of file _content.py.

00476 
00477     def getPortalTypeName():
00478         """ Return the name of the type information for this object.
00479 
00480         o If the object is uninitialized, return None.
00481 
00482         o Permission:  Public
00483         """

Return the ITypeInformation object for this object.

o A shortcut to 'getTypeInfo' of portal_types.

o Permission:  Public

Definition at line 484 of file _content.py.

00484 
00485     def getTypeInfo():
00486         """ Return the ITypeInformation object for this object.
00487 
00488         o A shortcut to 'getTypeInfo' of portal_types.
00489 
00490         o Permission:  Public
00491         """

Here is the caller graph for this function:


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