You are here

public function ApachesolrAttachmentsEntityFieldQuery::addExtraField in Apache Solr Attachments 7

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

File

./apachesolr_attachments.module, line 838
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;
}