Commit 09b60c8e authored by Chris Withers's avatar Chris Withers

Add in a getId method.

parent 4629dc98
......@@ -69,6 +69,10 @@ class PageTemplateFile(Item_w__name__, Script, PageTemplate, Traversable):
filename = filename + '.zpt'
self.filename = os.path.join(_prefix, filename)
def getId(self):
"""return the ID of this object"""
return self.__name__
def pt_getContext(self):
root = self.getPhysicalRoot()
context = self._getContext()
......
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