Last change
on this file was
3163,
checked in by zidane, 13 years ago
|
fixes pyflakes and pylint
|
-
Property svn:eol-style set to
native
|
File size:
834 bytes
|
Line | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | from plone.browserlayer.interfaces import ILocalBrowserLayerType |
---|
4 | |
---|
5 | |
---|
6 | # -*- extra stuff goes here -*- |
---|
7 | |
---|
8 | |
---|
9 | class ISitemap(Interface): |
---|
10 | """Search engine Sitemap content type.""" |
---|
11 | |
---|
12 | |
---|
13 | class INewsSitemapProvider(Interface): |
---|
14 | """Marker interface for News sitemap provider.""" |
---|
15 | |
---|
16 | |
---|
17 | class IGoogleSitemapsLayer(ILocalBrowserLayerType): |
---|
18 | """Marker interface that defines browser layer for the package.""" |
---|
19 | |
---|
20 | |
---|
21 | class IBlackoutFilter(Interface): |
---|
22 | """Base interface for filter adapter.""" |
---|
23 | |
---|
24 | def filterOut(fdata, fargs): |
---|
25 | """Filter out fdata by passed arguments in kwargs. |
---|
26 | * fdata (list/tuple) - data for filtering |
---|
27 | (list of catalog brains). |
---|
28 | * fargs (string) - is key for filtering. |
---|
29 | Return list/tuple like object without filtered out items. |
---|
30 | """ |
---|
Note: See
TracBrowser
for help on using the repository browser.