Source for file finder.php
Documentation is available at finder.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* HTML behavior class for Finder.
* @package Joomla.Administrator
* Creates a list of types to filter on.
* @return array An array containing the types that can be selected.
// Load the finder types.
$query =
$db->getQuery(true)
->select('DISTINCT t.title AS text, t.id AS value')
->from($db->quoteName('#__finder_types') .
' AS t')
->join('LEFT', $db->quoteName('#__finder_links') .
' AS l ON l.type_id = t.id')
$rows =
$db->loadObjectList();
catch
(RuntimeException $e)
$options[] =
JHtml::_('select.option', $row->value, $string);
* Creates a list of maps.
* @return array An array containing the maps that can be selected.
// Load the finder types.
$query =
$db->getQuery(true)
->select('title AS text, id AS value')
->from($db->quoteName('#__finder_taxonomy'))
->where($db->quoteName('parent_id') .
' = 1')
->order('ordering, title ASC');
$rows =
$db->loadObjectList();
catch
(RuntimeException $e)
$options[] =
JHtml::_('select.option', '1', JText::_('COM_FINDER_MAPS_BRANCHES'));
$options[] =
JHtml::_('select.option', $row->value, $string);
* Creates a list of published states.
* @return array An array containing the states that can be selected.
Documentation generated on Tue, 19 Nov 2013 15:03:22 +0100 by phpDocumentor 1.4.3