class documentation

class ZMSItem(OFS.ObjectManager.ObjectManager, OFS.SimpleItem.Item, Persistent, Implicit): (source)

View In Hierarchy

ZMS base infrastructure class providing core Zope integration and basic content management.

ZMSItem serves as the foundation for all ZMS content objects. It provides:

  • Core Zope integration through ObjectManager and SimpleItem
  • ZODB persistence and Acquisition support
  • ZMI (Zope Management Interface) utilities and templates
  • Request handling and page rendering
  • Access control permissions framework
  • Readme endpoint for documentation

Subclasses extend ZMSItem with domain-specific functionality.

Method breadcrumbs_obj_path Return the acquisition path of objects from the root to self's parent as a list. If portalMaster is True, the path is returned from the portal master object; otherwise, from the root of the acquisition context.
Method display_icon Returns the icon for the object.
Method f_standard_html_request Set up request for standard HTML page rendering, including headers and context variables.
Method get_readme_path Return filesystem path to a readme.md for the current admin context.
Method getTitlealt Returns the translated meta_type as title alt text for icons and links.
Method readme Returns readme rendered as HTML
Method zmi_body_class Implement 'zmi_body_class'.
Method zmi_body_content Implement 'zmi_body_content'.
Method zmi_manage_menu Implement 'zmi_manage_menu'.
Method zmi_page_request Implement 'zmi_page_request'.
Class Variable __ac_permissions__ Undocumented
Class Variable __viewPermissions__ Undocumented
Class Variable manage Undocumented
Class Variable manage_main Undocumented
Class Variable manage_workspace Undocumented
Class Variable readme_html Undocumented
Method _zmi_page_request Implement '_zmi_page_request'.
def breadcrumbs_obj_path(self, portalMaster=True): (source)

Return the acquisition path of objects from the root to self's parent as a list. If portalMaster is True, the path is returned from the portal master object; otherwise, from the root of the acquisition context.

def display_icon(self, *args, **kwargs): (source)

Returns the icon for the object.

  • If meta_id is provided, return the icon for the specified meta_id
  • Otherwise, return the default icon for the object
def f_standard_html_request(self, *args, **kwargs): (source)

Set up request for standard HTML page rendering, including headers and context variables.

def get_readme_path(self, REQUEST=None): (source)

Return filesystem path to a readme.md for the current admin context.

def getTitlealt(self, REQUEST): (source)

Returns the translated meta_type as title alt text for icons and links.

  • If meta_type is defined in self.getZMILangStr, return the translated string
  • Otherwise, return the raw meta_type
def readme(self, REQUEST=None, RESPONSE=None): (source)

Returns readme rendered as HTML

def zmi_body_class(self, *args, **kwargs): (source)

Implement 'zmi_body_class'.

def zmi_body_content(self, *args, **kwargs): (source)

Implement 'zmi_body_content'.

def zmi_manage_menu(self, *args, **kwargs): (source)

Implement 'zmi_manage_menu'.

def zmi_page_request(self, *args, **kwargs): (source)

Implement 'zmi_page_request'.

__ac_permissions__ = (source)

Undocumented

__viewPermissions__: tuple[str, ...] = (source)

Undocumented

Undocumented

manage_main = (source)

Undocumented

manage_workspace = (source)

Undocumented

readme_html = (source)

Undocumented

def _zmi_page_request(self, *args, **kwargs): (source)

Implement '_zmi_page_request'.