Source for file view.html.php
Documentation is available at view.html.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
* Groups view class for Finder.
* @package Joomla.Administrator
* Method to display the view.
* @param string $tpl A template file to load. [optional]
* @return mixed A string if successful, otherwise a JError object.
public function display($tpl =
null)
// Load plug-in language files.
$this->items =
$this->get('Items');
$this->total =
$this->get('Total');
$this->pagination =
$this->get('Pagination');
$this->state =
$this->get('State');
if (count($errors =
$this->get('Errors')))
JHtml::addIncludePath(JPATH_COMPONENT .
'/helpers/html');
* Method to configure the toolbar for this view.
// For whatever reason, the helper isn't being found
include_once JPATH_COMPONENT .
'/helpers/finder.php';
if ($canDo->get('core.edit.state'))
if ($canDo->get('core.delete'))
if ($canDo->get('core.admin'))
$toolbar->appendButton('Popup', 'stats', 'COM_FINDER_STATISTICS', 'index.php?option=com_finder&view=statistics&tmpl=component', 550, 350);
JHtml::_('select.options', JHtml::_('finder.mapslist'), 'value', 'text', $this->state->get('filter.branch')),
JText::_('COM_FINDER_INDEX_FILTER_BY_STATE'),
JHtml::_('select.options', JHtml::_('finder.statelist'), 'value', 'text', $this->state->get('filter.state'))
Documentation generated on Tue, 19 Nov 2013 15:17:09 +0100 by phpDocumentor 1.4.3