Пример #1
0
 function renderHtml()
 {
     $langtkursus = new VIH_Model_LangtKursus($this->context->name());
     $f*g = VIH_Model_Fag::getList();
     $selected = $langtkursus->getFag($this->pdo, 'all');
     $data = array('f*g' => $f*g, 'selected' => $selected, 'periods' => VIH_Model_LangtKursus_Periode::getFromKursusId($this->pdo, $this->context->name()));
     $tpl = $this->template->create('VIH/Intranet/view/langekurser/f*g');
     return $this->render($this, $data);
 }