Commit 6d5d8acf authored by Nicolas Delaby's avatar Nicolas Delaby

Add Method to get Property Type from listbox column. works done by thibaut deheunynck

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20005 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d2d54965
...@@ -2822,6 +2822,14 @@ class ListBoxLine: ...@@ -2822,6 +2822,14 @@ class ListBoxLine:
Returns the property of a column Returns the property of a column
""" """
return self.column_dict[column_id] return self.column_dict[column_id]
security.declarePublic('getColumnPropertyTypeName')
def getColumnPropertyTypeName(self, column_id):
"""
Returns the property type of a column
"""
return self.column_dict[column_id].__class__.__name__
security.declarePublic('getColumnPropertyList') security.declarePublic('getColumnPropertyList')
def getColumnPropertyList(self, column_id_list = None): def getColumnPropertyList(self, column_id_list = None):
......
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