Commit 5315b852 authored by Vincent Pelletier's avatar Vincent Pelletier

Integrate isValidColumn in the "official" catalog API.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40347 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 173df1fa
...@@ -255,3 +255,10 @@ class ISearchKeyCatalog(Interface): ...@@ -255,3 +255,10 @@ class ISearchKeyCatalog(Interface):
identifier in SearchText is a valid column. identifier in SearchText is a valid column.
If not provided, catalog schema will be used. If not provided, catalog schema will be used.
""" """
def isValidColumn(column_id):
"""
Returns wether given string is a known column.
Note: related keys and scriptable keys are considered columns.
"""
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