Back to index

plone3  3.1.7
truncID.py
Go to the documentation of this file.
00001 ##parameters=objID, size
00002 ##title=return truncated objID
00003 ##
00004 if len(objID) > size:
00005     return objID[:size] + '...'
00006 else:
00007     return objID