You are here

public function FacetapiFacet::offsetGet in Facet API 6.3

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

Returns the value at specified offset.

Parameters

mixed offset: The offset to retrieve.

Return value

mixed

File

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

Class

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

Code

public function offsetGet($offset) {
  return isset($this->facet[$offset]) ? $this->facet[$offset] : NULL;
}