Commit d1e64f52 authored by Sebastien Robin's avatar Sebastien Robin

getTitle is not needed now


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@908 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb7835f3
......@@ -52,12 +52,12 @@ class Predicate:
"""
return ('string', 'int', 'float', 'date', 'set')
security.declareProtected( Permissions.View, 'getTitle' )
def getTitle(self):
"""
The title of a predicate is its operator representations
"""
return "%s %s %s" % (self.predicate_property, self.predicate_operator, self.predicate_value)
#security.declareProtected( Permissions.View, 'getTitle' )
#def getTitle(self):
# """
# The title of a predicate is its operator representations
# """
# return "%s %s %s" % (self.predicate_property, self.predicate_operator, self.predicate_value)
# Compatibility
security.declareProtected( Permissions.View, 'getPredicateAttribute' )
......
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