Package Products :: Package CMFCore :: Module DynamicType :: Class DynamicType
[show private | hide private]
[frames | no frames]

Class DynamicType

Known Subclasses:
PortalFolderBase

Mixin for portal content that allows the object to take on a dynamic type property.
Method Summary
  __before_publishing_traverse__(self, arg1, arg2)
Pre-traversal hook.
  _getPortalTypeName(self)
Get the portal type name that can be passed to portal_types.
  getActionInfo(self, action_chain, check_visibility, check_condition)
Get an Action info mapping specified by a chain of actions.
  getIcon(self, relative_to_portal)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
  getPortalTypeName(self)
Get the portal type name that can be passed to portal_types.
  getTypeInfo(self)
Get the TypeInformation object specified by the portal type.
  icon(self, relative_to_portal)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
  _setPortalTypeName(self, pt)
Set the portal type name.

Class Variable Summary
tuple __ac_permissions__ = ()
Interface __implements__ = <Interface Products.CMFCore.interfaces....
NoneType getActionInfo__roles__ = None                                                                  
NoneType getIcon__roles__ = None                                                                  
NoneType getPortalTypeName__roles__ = None                                                                  
NoneType getTypeInfo__roles__ = None                                                                  
NoneType icon__roles__ = None                                                                  
NoneType portal_type = None                                                                  

Method Details

__before_publishing_traverse__(self, arg1, arg2=None)

Pre-traversal hook.

_getPortalTypeName(self)

Get the portal type name that can be passed to portal_types.

getActionInfo(self, action_chain, check_visibility=0, check_condition=0)

Get an Action info mapping specified by a chain of actions.

getIcon(self, relative_to_portal=0)

Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.

getPortalTypeName(self)

Get the portal type name that can be passed to portal_types.

getTypeInfo(self)

Get the TypeInformation object specified by the portal type.

icon(self, relative_to_portal=0)

Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.

_setPortalTypeName(self, pt)

Set the portal type name.

Called by portal_types during construction, records an ID that will be used later to locate the correct ContentTypeInformation.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

__implements__

Type:
Interface
Value:
<Interface Products.CMFCore.interfaces.Dynamic.DynamicType at 14ce7b0> 

getActionInfo__roles__

Type:
NoneType
Value:
None                                                                  

getIcon__roles__

Type:
NoneType
Value:
None                                                                  

getPortalTypeName__roles__

Type:
NoneType
Value:
None                                                                  

getTypeInfo__roles__

Type:
NoneType
Value:
None                                                                  

icon__roles__

Type:
NoneType
Value:
None                                                                  

portal_type

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 http://epydoc.sf.net