| Current Path : /home/sunflowe/www2/vacancesfloride/administrator/components/com_modules/views/select/ |
| Current File : /home/sunflowe/www2/vacancesfloride/administrator/components/com_modules/views/select/view.html.php |
<?php
/**
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* HTML View class for the Modules component
*
* @package Joomla.Administrator
* @subpackage com_modules
* @since 1.6
*/
class ModulesViewSelect extends JViewLegacy
{
protected $state;
protected $items;
/**
* Display the view
*/
function display($tpl = null)
{
$state = $this->get('State');
$items = $this->get('Items');
// Check for errors.
if (count($errors = $this->get('Errors')))
{
JError::raiseError(500, implode("\n", $errors));
return false;
}
$this->assignRef('state', $state);
$this->assignRef('items', $items);
parent::display($tpl);
}
}