Public Member Functions

ilAICCBlockGUI Class Reference

Inheritance diagram for ilAICCBlockGUI:
Collaboration diagram for ilAICCBlockGUI:

Public Member Functions

 ilAICCBlockGUI ($a_id)
 view ()

Detailed Description

Definition at line 36 of file class.ilAICCBlockGUI.php.


Member Function Documentation

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);
        }

Here is the call graph for this function:

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();
                
        }


The documentation for this class was generated from the following file: