Changeset 2939 in products for quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/interfaces.py
- Timestamp:
- Oct 28, 2010 4:26:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/interfaces.py
r2909 r2939 22 22 """Marker interface that defines browser layer for the package.""" 23 23 24 class IBlackoutFilter Utility(Interface):25 """Base interface for filter utility."""24 class IBlackoutFilter(Interface): 25 """Base interface for filter adapter.""" 26 26 27 def filterOut(fdata, f key, **kwargs):27 def filterOut(fdata, fargs): 28 28 """Filter out fdata by passed arguments in kwargs. 29 * fdata (list/tuple) - is data to filtering.30 * fkey (string) - is key for filtering.31 * **kwargs - contains additional data, neededfor filtering.29 * fdata (list/tuple) - data for filtering 30 (list of catalog brains). 31 * fargs (string) - is key for filtering. 32 32 Return list/tuple like object without filtered out items. 33 33 """
Note: See TracChangeset
for help on using the changeset viewer.