public function Solr_Base_Query::get_path in Apache Solr Search 6.2
Same name and namespace in other branches
- 5.2 Solr_Base_Query.php \Solr_Base_Query::get_path()
- 6 Solr_Base_Query.php \Solr_Base_Query::get_path()
Return the search path (including the search keywords).
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 329
Class
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();
}