Public Member Functions | |
ilAICCBlockGUI ($a_id) | |
view () |
Definition at line 36 of file class.ilAICCBlockGUI.php.
ilAICCBlockGUI::ilAICCBlockGUI | ( | $ | a_id | ) |
Definition at line 39 of file class.ilAICCBlockGUI.php.
References ilAICCObjectGUI::ilAICCObjectGUI().
{ parent::ilAICCObjectGUI(); $this->ac_object =& new ilAICCBlock($a_id); }
ilAICCBlockGUI::view | ( | ) |
Definition at line 45 of file class.ilAICCBlockGUI.php.
{ $this->tpl = new ilTemplate("tpl.main.html", true, true); $this->tpl->addBlockFile("CONTENT", "content", "tpl.aicc_block.html", true); $this->tpl->setVariable("BLOCK_TITLE", $this->ac_object->getTitle() ); $this->tpl->setVariable("BLOCK_DESCRIPTION", $this->ac_object->getDescription() ); $this->tpl->parseCurrentBlock(); }