params()->fromQuery('fulltext_search');
$hasResults = false;
?>
translate('Search results for ā%sā'), $fulltextSearch); ?>
common/cross-site-search/results.phtml
getTotalResults()):
$hasResults = true;
?>
translate('Site pages'); ?>
getContent() as $sitePage): ?>
site(); ?>
-
hyperlink($sitePage->title(), $sitePage->siteUrl()); ?>
hyperlink($site->title(), $site->siteUrl()); ?>
hyperlink(
sprintf($this->translate('View all results (%s total)'), $responseSitePages->getTotalResults()),
$this->url(
null,
['action' => 'site-pages'],
['query' => ['fulltext_search' => $fulltextSearch]],
true
)
); ?>
getTotalResults()):
$hasResults = true;
?>
translate('Items'); ?>
getContent() as $item): ?>
sites(); ?>
-
displayTitle(); ?>
- hyperlink($site->title(), $item->siteUrl($site->slug())); ?>
hyperlink(
sprintf($this->translate('View all results (%s total)'), $responseItems->getTotalResults()),
$this->url(
null,
['action' => 'items'],
['query' => ['fulltext_search' => $fulltextSearch]],
true
)
); ?>
getTotalResults()):
$hasResults = true;
?>
translate('Item sets'); ?>
getContent() as $itemSet): ?>
sites(); ?>
-
displayTitle(); ?>
- hyperlink($site->title(), $item->siteUrl($site->slug())); ?>
hyperlink(
sprintf($this->translate('View all results (%s total)'), $responseItemSets->getTotalResults()),
$this->url(
null,
['action' => 'item-sets'],
['query' => ['fulltext_search' => $fulltextSearch]],
true
)
); ?>
translate('No result found'); ?>