Go to the source code of this file.
Variables | |
$url | |
$title |
This template renders a single search result and is collected into search-results.tpl.php. This and the parent template are dependent to one another sharing the markup for definition lists.
Available variables:
Default keys within $info_split:
Since $info_split is keyed, a direct print of the item is possible. This array does not apply to user searches so it is recommended to check for their existance before printing. The default keys of 'type', 'user' and 'date' always exist for node searches. Modules may provide other data.
<?php if (isset($info_split['comment'])) : ?> <?php print $info_split['comment']; ?> <?php endif; ?>
To check for all available data within $info_split, use the code below.
<?php print '
'. check_plain(print_r($info_split, 1)) .''; ?>
Definition in file search-result.tpl.php.
print $title |
Definition at line 50 of file search-result.tpl.php.
print $url |
Definition at line 50 of file search-result.tpl.php.
Referenced by _batch_progress_page_js(), _batch_progress_page_nojs(), _drupal_html_to_mail_urls(), _openid_normalize_url(), _update_build_fetch_url(), _update_refresh(), _xmlrpc(), batch_process(), DrupalWebTestCase::curlExec(), db_connect(), drupal_add_feed(), drupal_goto(), drupal_http_request(), drupal_test_mysql(), drupal_test_mysqli(), drupal_test_pgsql(), install_change_settings(), install_configure_form(), install_tasks(), install_verify_settings(), openid_redirect(), openid_redirect_form(), openid_redirect_http(), theme_aggregator_page_rss(), theme_feed_icon(), theme_image(), theme_more_help_link(), theme_more_link(), theme_xml_icon(), and valid_url().