| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Joomla.Site 4 * @subpackage com_finder 5 * 6 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 7 * @license GNU General Public License version 2 or later; see LICENSE 8 */ 9 10 defined('_JEXEC') or die; 11 12 // Get the mime type class. 13 $mime = !empty($this->result->mime) ? 'mime-' . $this->result->mime : null; 14 15 // Get the base url. 16 $base = JURI::getInstance()->toString(array('scheme', 'host', 'port')); 17 18 // Get the route with highlighting information. 19 if (!empty($this->query->highlight) && empty($this->result->mime) && $this->params->get('highlight_terms', 1) && JPluginHelper::isEnabled('system', 'highlight')) { 20 $route = $this->result->route . '&highlight=' . base64_encode(serialize($this->query->highlight)); 21 } else { 22 $route = $this->result->route; 23 } 24 ?> 25 26 <dt class="result-title <?php echo $mime; ?>"> 27 <a href="<?php echo JRoute::_($route); ?>"><?php echo $this->result->title; ?></a> 28 </dt> 29 <?php if ($this->params->get('show_description', 1)): ?> 30 <dd class="result-text<?php echo $this->pageclass_sfx; ?>"> 31 <?php echo JHtml::_('string.truncate', $this->result->description, $this->params->get('description_length', 255)); ?> 32 </dd> 33 <?php endif; ?> 34 <?php if ($this->params->get('show_url', 1)): ?> 35 <dd class="result-url<?php echo $this->pageclass_sfx; ?>"> 36 <?php echo $base . JRoute::_($this->result->route); ?> 37 </dd> 38 <?php endif;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |