Commit 62442d41 authored by Jim Fulton's avatar Jim Fulton

Added propertyLabel method to let subclasses change the way

properties are labelled.
parent 2f8efb6b
......@@ -84,7 +84,7 @@
##############################################################################
"""Property management"""
__version__='$Revision: 1.7 $'[11:-2]
__version__='$Revision: 1.8 $'[11:-2]
from ZPublisher.Converters import type_converters
......@@ -228,6 +228,11 @@ class PropertyManager:
"""Return a tuple of mappings, giving meta-data for properties """
return self._properties
def propertyLabel(self, id):
"""Return a label for the given property id
"""
return id
def propdict(self):
dict={}
for p in self._properties:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment