You are here

public function ResultRow::__isset in Search API 8

Implements the magic __isset() method to lazy-load certain properties.

File

src/Plugin/views/ResultRow.php, line 68

Class

ResultRow
A class representing a result row of a Search API-based view.

Namespace

Drupal\search_api\Plugin\views

Code

public function __isset($name) {
  $properties = get_object_vars($this);
  return isset($properties[$name]) || isset(static::$lazyLoad[$name]) && $this->_item;
}