module documentation

_pathhandler.py - ZMS Path Handler for URL Routing and Traversal

This module defines the PathHandler class, which provides helpers for URL routing, object traversal, and dynamic content resolution in a ZMS content management system. The PathHandler class implements the __bobo_traverse__ method to handle custom traversal logic, including REST API routing, declarative URL handling, and dynamic object resolution based on request parameters and object attributes. It also includes helper functions for validating and filtering objects by ID, as well as handling blob attributes by filename.

License: GNU General Public License v2 or later, Organization: ZMS Publishing

Class PathHandler Provide helpers for PathHandler.
Function filterId Filters object by id.
Function handleBlobAttrs Handles blob attributes by filename.
Function validateId Validates id against list of possible declarative id.
def filterId(self, id, REQUEST): (source)

Filters object by id.

def handleBlobAttrs(self, name, REQUEST): (source)

Handles blob attributes by filename.

def validateId(self, id, REQUEST): (source)

Validates id against list of possible declarative id.