You are here

public function FacetapiFacet::offsetGet in Facet API 7

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

Implements ArrayAccess::offsetGet().

File

plugins/facetapi/adapter.inc, line 1186
Adapter plugin and adapter related classes.

Class

FacetapiFacet
Wrapper around the facet definition with methods that build render arrays.

Code

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