You are here

public function FacetapiFacet::offsetExists in Facet API 6.3

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

Whether a offset exists

Parameters

mixed offset: An offset to check for.

Return value

boolean

File

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

Class

FacetapiFacet
Stores facet data, provides methods that build the facet's render array.

Code

public function offsetExists($offset) {
  return isset($this->facet[$offset]);
}