You are here

abstract public function FacetapiAdapter::suppressOutput in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::suppressOutput()
  2. 7 plugins/facetapi/adapter.inc \FacetapiAdapter::suppressOutput()

Returns a boolean flagging whether facets in a realm shoud be displayed.

Useful, for example, for suppressing sidebar blocks in some cases.

@todo Generic search API should provide consistent functionality.

Return value

A boolean flagging whether to display a given realm.

1 method overrides FacetapiAdapter::suppressOutput()
FacetapiTestAdapter::suppressOutput in tests/facetapi_test/plugins/facetapi/test_adapter.inc
Returns a boolean flagging whether facets in a realm shoud be displayed.

File

plugins/facetapi/adapter.inc, line 167
Adapter plugin and adapter related calsses.

Class

FacetapiAdapter
Abstract class extended by search backends that retrieves facet information from the database.

Code

public abstract function suppressOutput($realm_name);