You are here

public function apachesolr_views_handler_field_generic::__get in Apache Solr Views 6

Gets called when trying to retrieve an undefined property.

File

handlers/apachesolr_views_handler_field_generic.inc, line 23

Class

apachesolr_views_handler_field_generic
Class for retrieving and rendering an arbitrary field from an Apache Solr query. The class uses a predefined handler to which it acts as a proxy.

Code

public function &__get($name) {
  if (isset($this->_original->{$name})) {
    return $this->_original->{$name};
  }
  return NULL;
}