You are here

public function apachesolr_views_handler_field_generic::construct in Apache Solr Views 6

Construct a new apachesolr field handler.

File

handlers/apachesolr_views_handler_field_generic.inc, line 110

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 construct() {
  $this->_original
    ->construct();
  $this->_original->aliases = drupal_map_assoc(array(
    'id',
    'site',
    'hash',
    'url',
    'title',
    'body',
    'type',
    'type_name',
    'path',
    'path_alias',
    'uid',
    'name',
    'created',
    'changed',
    'last_comment_or_change',
    'nid',
    'status',
    'promote',
    'moderate',
    'sticky',
    'tnid',
    'translate',
    'language',
    'comment_count',
    'tid',
    'vid',
    'timestamp',
  ));
}