Match set frontend to exam view
This commit is contained in:
@@ -11,12 +11,18 @@ class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $set;
|
||||
protected $items;
|
||||
protected $sets;
|
||||
protected $results;
|
||||
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->getDocument()->getWebAssetManager()->registerAndUseStyle(
|
||||
'com_testquestions.exam',
|
||||
'media/com_testquestions/egzamin.css'
|
||||
);
|
||||
$this->set = $this->get('Set');
|
||||
$this->items = $this->get('Items');
|
||||
$this->sets = $this->get('Sets');
|
||||
$this->results = $this->buildResults($this->items);
|
||||
|
||||
return parent::display($tpl);
|
||||
|
||||
Reference in New Issue
Block a user