You are here

public function ApachesolrAttachmentsEntityFieldQuery::addExtraField in Apache Solr Attachments 6.3

Same name and namespace in other branches
  1. 7 apachesolr_attachments.module \ApachesolrAttachmentsEntityFieldQuery::addExtraField()

File

./apachesolr_attachments.module, line 649
Provides a file attachment search implementation for use with the Apache Solr module

Class

ApachesolrAttachmentsEntityFieldQuery

Code

public function addExtraField($field_name, $column, $column_alias = NULL) {
  $this->addedFields[] = array(
    'field_name' => $field_name,
    'column' => $column,
    'column_alias' => $column_alias,
  );
  return $this;
}