Last change
on this file since 3510 was
3163,
checked in by zidane, 13 years ago
|
fixes pyflakes and pylint
|
-
Property svn:eol-style set to
native
|
File size:
834 bytes
|
Rev | Line | |
---|
[1593] | 1 | from zope.interface import Interface |
---|
| 2 | |
---|
[2841] | 3 | from plone.browserlayer.interfaces import ILocalBrowserLayerType |
---|
[2538] | 4 | |
---|
[1593] | 5 | |
---|
| 6 | # -*- extra stuff goes here -*- |
---|
| 7 | |
---|
[3152] | 8 | |
---|
[1593] | 9 | class ISitemap(Interface): |
---|
[2746] | 10 | """Search engine Sitemap content type.""" |
---|
| 11 | |
---|
[3152] | 12 | |
---|
[2746] | 13 | class INewsSitemapProvider(Interface): |
---|
| 14 | """Marker interface for News sitemap provider.""" |
---|
[2841] | 15 | |
---|
| 16 | |
---|
| 17 | class IGoogleSitemapsLayer(ILocalBrowserLayerType): |
---|
| 18 | """Marker interface that defines browser layer for the package.""" |
---|
[3002] | 19 | |
---|
[3152] | 20 | |
---|
[3002] | 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.