You are here

function theme_facetapi_count in Facet API 6

Same name and namespace in other branches
  1. 6.3 facetapi.theme.inc \theme_facetapi_count()
  2. 7.2 facetapi.theme.inc \theme_facetapi_count()
  3. 7 facetapi.theme.inc \theme_facetapi_count()

Themes the count for the facet item. For example, this number shows how many results will be returned after clicking on a link.

Parameters

$count: An integer containing the count.

Return value

The themes number.

1 theme call to theme_facetapi_count()
theme_facetapi_link_inactive in ./facetapi.theme.inc
Themes a facet link with an optional count.

File

./facetapi.theme.inc, line 102
Theme functions for the Facet API module.

Code

function theme_facetapi_count($count) {
  return '(' . check_plain($count) . ')';
}