You are here

function theme_facetapi_link_inactive in Facet API 6

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

Themes a facet link with an optional count.

Parameters

$text: A string containing the facet title.

$path: A string containing the Drupal path being linked to, usually $_GET['q'].

$options: An associative array of additional options.

$count: An optional integer containing the count of the facet item.

Return value

A string containing the themed link.

See also

facetapi_l()

File

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

Code

function theme_facetapi_link_inactive($text, $path, array $options = array(), $count = 0) {
  if ($count) {
    $text .= ' ' . theme('facetapi_count', $count);
  }
  return facetapi_l($text, $path, $options);
}