/**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('rainlab_blog_label', 'Blog');
 }
 /**
  * Display name for this provider.
  *
  * @return string
  */
 public function displayName()
 {
     return Settings::get('rainlab_pages_label', 'Page');
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('octoshop_products_label', trans('offline.sitesearch::lang.settings.octoshop_itemurl_badge'));
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('responsiv_showcase_label', 'Showcase');
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return SiteSearchSettings::get('radiantweb_problog_label', 'Blog');
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('indikator_news_label', 'News');
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('jiri_jkshop_label', trans('offline.sitesearch::lang.settings.jiri_jkshop_itemurl_badge'));
 }
 /**
  * Display name for this provider.
  *
  * @return mixed
  */
 public function displayName()
 {
     return Settings::get('arrizalamin_portfolio_label', 'Portfolio');
 }
示例#9
0
 /**
  * Surrounds all instances of the query
  * in $text with <mark> tags.
  *
  * @param $text
  *
  * @return string
  */
 private function markQuery($text)
 {
     // Only mark the query if this feature is enabled
     if (!Settings::get('mark_results', true)) {
         return $text;
     }
     return (string) preg_replace('/(' . preg_quote($this->query, '/') . ')/i', '<mark>$0</mark>', $text);
 }