31 lines
846 B
PHP
31 lines
846 B
PHP
<?php
|
|
|
|
namespace Komponent\Component\Testquestions\Administrator\View\Results;
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\HTML\HTMLHelper;
|
|
use Joomla\CMS\Language\Text;
|
|
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
|
use Joomla\CMS\Toolbar\ToolbarHelper;
|
|
|
|
class HtmlView extends BaseHtmlView
|
|
{
|
|
protected $items;
|
|
protected $pagination;
|
|
protected $state;
|
|
protected $sets;
|
|
|
|
public function display($tpl = null)
|
|
{
|
|
$this->items = $this->get('Items');
|
|
$this->pagination = $this->get('Pagination');
|
|
$this->state = $this->get('State');
|
|
$this->sets = $this->get('Sets');
|
|
ToolbarHelper::title(Text::_('COM_TESTQUESTIONS_RESULTS'));
|
|
ToolbarHelper::link('index.php?option=com_testquestions&view=sets', 'COM_TESTQUESTIONS_SETS', 'back');
|
|
|
|
return parent::display($tpl);
|
|
}
|
|
}
|