예제 #1
0
파일: Index.php 프로젝트: vih/vih.dk
 function getContent()
 {
     $tpl = $this->template->create('Facilitet/oversigtsbillede');
     $data = array('faciliteter' => VIH_Model_Facilitet::getList('højskole'));
     return '<p>Klik dig rundt nedenunder for at tage en rundtur på Vejle Idrætshøjskole.</p>
     ' . $tpl->render($this, $data);
 }
예제 #2
0
 function renderHtml()
 {
     $this->document->setTitle('Faciliteter');
     $this->document->addOption('Opret', $this->url('edit'));
     $data = array('faciliteter' => VIH_Model_Facilitet::getList('all'));
     $tpl = $this->template->create('faciliteter/faciliteter');
     return $tpl->render($this, $data);
 }
예제 #3
0
파일: Show.php 프로젝트: vih/vih.dk
 function getFaciliteterList()
 {
     $data = array('faciliteter' => VIH_Model_Facilitet::getList('højskole'));
     $tpl = $this->template->create('Facilitet/faciliteter');
     return $tpl->render($this, $data);
 }