ILIAS  release_4-4 Revision
ilAICCBlockGUI Class Reference

GUI class for AICC Unit element. More...

+ Inheritance diagram for ilAICCBlockGUI:
+ Collaboration diagram for ilAICCBlockGUI:

Public Member Functions

 ilAICCBlockGUI ($a_id)
 
 view ()
 
- Public Member Functions inherited from ilAICCObjectGUI
 ilAICCObjectGUI ($a_id=0)
 
getInstance ($a_id)
 get instance of specialized GUI class More...
 
 displayParameter ($a_name, $a_value)
 

Additional Inherited Members

- Data Fields inherited from ilAICCObjectGUI
 $sc_object
 
 $tpl
 
 $lng
 

Detailed Description

GUI class for AICC Unit element.

Version
$Id$

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

Member Function Documentation

◆ ilAICCBlockGUI()

ilAICCBlockGUI::ilAICCBlockGUI (   $a_id)

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

38  {
39  parent::ilAICCObjectGUI();
40  $this->ac_object =& new ilAICCBlock($a_id);
41  }
AICC Block.

◆ view()

ilAICCBlockGUI::view ( )

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

44  {
45 
46  $this->tpl = new ilTemplate("tpl.main.html", true, true);
47 
48  $this->tpl->addBlockFile("CONTENT", "content", "tpl.aicc_block.html", "Modules/ScormAicc");
49  $this->tpl->setVariable("BLOCK_TITLE", $this->ac_object->getTitle() );
50  $this->tpl->setVariable("BLOCK_DESCRIPTION", $this->ac_object->getDescription() );
51  $this->tpl->parseCurrentBlock();
52 
53  }
special template class to simplify handling of ITX/PEAR

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