You are here

public function Solr_Base_Query::get_path in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 Solr_Base_Query.php \Solr_Base_Query::get_path()
  2. 6.2 Solr_Base_Query.php \Solr_Base_Query::get_path()

Return the search path.

Parameters

string $new_keywords: Optional. When set, this string overrides the query's current keywords.

Overrides Drupal_Solr_Query_Interface::get_path

1 call to Solr_Base_Query::get_path()
Solr_Base_Query::get_breadcrumb in ./Solr_Base_Query.php
Build additional breadcrumb elements relative to $base.

File

./Solr_Base_Query.php, line 360

Class

Solr_Base_Query

Code

public function get_path($new_keywords = NULL) {
  if (isset($new_keywords)) {
    return $this->base_path . '/' . $new_keywords;
  }
  return $this->base_path . '/' . $this
    ->get_query_basic();
}