equal
deleted
inserted
replaced
372 interested in filtering |
372 interested in filtering |
373 |
373 |
374 Facets implementors may also be interested in the following properties / |
374 Facets implementors may also be interested in the following properties / |
375 methods: |
375 methods: |
376 |
376 |
377 .. automethod:: cubicweb.web.facet.AbstractFacet.operator |
377 .. autoattribute:: cubicweb.web.facet.AbstractFacet.operator |
378 .. automethod:: cubicweb.web.facet.AbstractFacet.rqlexec |
378 .. automethod:: cubicweb.web.facet.AbstractFacet.rqlexec |
379 """ |
379 """ |
380 __abstract__ = True |
380 __abstract__ = True |
381 __registry__ = 'facets' |
381 __registry__ = 'facets' |
382 cw_property_defs = { |
382 cw_property_defs = { |
1004 |
1004 |
1005 Though some features, such as 'no value' or automatic internationalization, |
1005 Though some features, such as 'no value' or automatic internationalization, |
1006 won't work. This facet class is designed to be used for cases where |
1006 won't work. This facet class is designed to be used for cases where |
1007 :class:`RelationFacet` or :class:`RelationAttributeFacet` can't do the trick |
1007 :class:`RelationFacet` or :class:`RelationAttributeFacet` can't do the trick |
1008 (e.g when you want to filter on entities where are not directly linked to |
1008 (e.g when you want to filter on entities where are not directly linked to |
1009 the filtered entities). |
1009 the filtered entities). |
1010 """ |
1010 """ |
1011 # must be specified |
1011 # must be specified |
1012 path = None |
1012 path = None |
1013 filter_variable = None |
1013 filter_variable = None |
1014 # may be specified |
1014 # may be specified |