ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilDclRatingRecordRepresentation.php
Go to the documentation of this file.
1<?php
2
10{
11
17 public function getHTML($link = true)
18 {
19 global $DIC;
20 $ilCtrl = $DIC['ilCtrl'];
21 $rgui = new ilRatingGUI();
22 $rgui->setObject($this->getRecordField()->getRecord()->getId(), "dcl_record", $this->getRecordField()->getField()->getId(), "dcl_field");
23 $ilCtrl->setParameterByClass("ilratinggui", "field_id", $this->getRecordField()->getField()->getId());
24 $ilCtrl->setParameterByClass("ilratinggui", "record_id", $this->getRecordField()->getRecord()->getId());
25 $html = $rgui->getHTML();
26
27 return $html;
28 }
29
30
34 public function fillFormInput($form)
35 {
36 // explicitly do nothing. the value is handled via the model and gui of ilRating.
37 }
38}
An exception for terminatinating execution or to throw for unit testing.
Class ilDclBaseRecordRepresentation.
Class ilRatingGUI.
global $DIC
Definition: goto.php:24