Commit 01fa3575 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added a method getColumnPropertyTypeName which is useful for chart objects.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19551 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e012c227
......@@ -2776,6 +2776,16 @@ class ListBoxLine:
return config_column + [self.column_dict[column_id] for column_id in column_id_list]
security.declarePublic('getColumnPropertyTypeName')
def getColumnPropertyTypeName(self, column_id):
"""
Returns the type of a property of a column in
the form of a string
NOTE: experimental method - may change in the future
"""
return type(self.column_dict[column_id]).__name__
security.declarePublic('getColumnItemList')
def getColumnItemList(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