class documentation

class ZMS(ZMSCustom, _accessmanager.AccessManager, _builder.Builder, _confmanager.ConfManager, _objattrs.ObjAttrsManager, _zcatalogmanager.ZCatalogManager): (source)

View In Hierarchy

Undocumented

Method __before_publishing_traverse__ Maintenance mode can be set by adding the ZMS configuration key ZMS.mode.maintenance=1. The maintenance mode prevents editing content and returns an error: 503 Service Unavailable. To show a specific message the Zope object standard_error_message should be customized, e...
Method __init__ Undocumented
Method getAbsoluteHome Undocumented
Method getDCCoverage Undocumented
Method getDocumentElement Undocumented
Method getHome Undocumented
Method getNewId Undocumented
Method getParentNode Undocumented
Method getPortalClients Undocumented
Method getPortalMaster Undocumented
Method getRootElement Undocumented
Method getTrashcan Undocumented
Method initZMS Undocumented
Method manage_addMediaDb Undocumented
Method xmlOnStartElement Undocumented
Method zms_version Undocumented
Class Variable __ac_permissions__ Undocumented
Class Variable __administratorPermissions__ Undocumented
Class Variable __authorPermissions__ Undocumented
Class Variable __userAdministratorPermissions__ Undocumented
Class Variable __viewPermissions__ Undocumented
Class Variable dGlobalAttrs Undocumented
Class Variable enumManager ############################################################################ ### ### Constructor ### ############################################################################
Class Variable f_headDoctype Undocumented
Class Variable f_headMeta_DC Undocumented
Class Variable f_headMeta_Locale Undocumented
Class Variable f_headTitle Undocumented
Class Variable f_index_html Undocumented
Class Variable f_standard_html_footer Undocumented
Class Variable f_standard_html_header Undocumented
Class Variable headCSS Undocumented
Class Variable headCStyleSheet Undocumented
Class Variable headMeta Undocumented
Class Variable headScript Undocumented
Class Variable index_html Undocumented
Class Variable meta_id Undocumented
Class Variable meta_type Undocumented
Class Variable openapi_yaml Undocumented
Class Variable swagger_ui Undocumented
Class Variable zms_build Undocumented
Class Variable zms_patch Undocumented
Instance Variable dTagStack Undocumented
Instance Variable dValueStack Undocumented
Instance Variable id Undocumented
Instance Variable oParent Undocumented
def __before_publishing_traverse__(self, object, request): (source)

Maintenance mode can be set by adding the ZMS configuration key ZMS.mode.maintenance=1. The maintenance mode prevents editing content and returns an error: 503 Service Unavailable. To show a specific message the Zope object standard_error_message should be customized, e.g. like this:

  <tal:block
      tal:define="
        errtype python:options.get('error_type',None);
        errvalue python:options.get('error_value',None)"
      tal:condition="python:errtype=='HTTPServiceUnavailable' and str(errvalue)=='Maintenance'">
      <h2>ZMS Maintenance active</h2>
      <button onclick="history.back()">Go Back</button>
  </tal:block>
def __init__(self): (source)

Undocumented

def getAbsoluteHome(self): (source)

Undocumented

def getDCCoverage(self, REQUEST={}): (source)

Undocumented

def getDocumentElement(self): (source)

Undocumented

def getHome(self): (source)

Undocumented

def getNewId(self, id_prefix='e'): (source)

Undocumented

def getParentNode(self): (source)

Undocumented

def getPortalClients(self): (source)

Undocumented

def getPortalMaster(self): (source)

Undocumented

def getRootElement(self): (source)

Undocumented

def getTrashcan(self): (source)

Undocumented

def initZMS(self, container, id, titlealt, title, lang, manage_lang, REQUEST, minimal_init=False): (source)

Undocumented

def manage_addMediaDb(self, location, REQUEST=None, RESPONSE=None): (source)

Undocumented

def xmlOnStartElement(self, sTagName, dTagAttrs, oParentNode): (source)

Undocumented

def zms_version(self, custom=False): (source)

Undocumented

__ac_permissions__ = (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

dGlobalAttrs = (source)

Undocumented

enumManager = (source)

############################################################################ ### ### Constructor ### ############################################################################

f_headDoctype = (source)

Undocumented

f_headMeta_DC = (source)

Undocumented

f_headMeta_Locale = (source)

Undocumented

f_headTitle = (source)

Undocumented

f_index_html = (source)

Undocumented

f_standard_html_footer = (source)

Undocumented

f_standard_html_header = (source)

Undocumented

Undocumented

headCStyleSheet = (source)

Undocumented

headMeta = (source)

Undocumented

headScript = (source)

Undocumented

index_html = (source)

Undocumented

meta_id: str = (source)

Undocumented

meta_type: str = (source)

Undocumented

openapi_yaml = (source)

Undocumented

swagger_ui = (source)

Undocumented

zms_build: str = (source)

Undocumented

zms_patch: str = (source)

Undocumented

dTagStack = (source)

Undocumented

dValueStack = (source)

Undocumented

Undocumented

Undocumented