ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAICCBlockGUI Class Reference

GUI class for AICC Unit element. More...

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

Public Member Functions

 __construct ($a_id)
 
 view ()
 
- Public Member Functions inherited from ilAICCObjectGUI
 __construct ($a_id=0)
 
 displayParameter ($a_name, $a_value)
 

Additional Inherited Members

- Static Public Member Functions inherited from ilAICCObjectGUI
static getInstance ($a_id)
 get instance of specialized GUI class More...
 
- 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.

Constructor & Destructor Documentation

◆ __construct()

ilAICCBlockGUI::__construct (   $a_id)

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

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

Member Function Documentation

◆ 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: