Commit da3d563e authored by Jérome Perrin's avatar Jérome Perrin

add a docstring to setTitle


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4037 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67d0e767
......@@ -333,13 +333,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
property_sheets = ( PropertySheet.Base
, )
#setTitle = None
#_setTitle = None
# We want to use a default property view
manage_propertiesForm = DTMLFile( 'dtml/properties', _dtmldir )
security.declareProtected( Permissions.ModifyPortalContent, 'setTitle' )
def setTitle(self, value):
""" sets the title. (and then reindexObject)"""
self._setTitle(value)
self.reindexObject()
......
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