12include_once 
'Services/Form/classes/class.ilFormPropertyGUI.php';
 
   28                parent::__construct(
$lng->txt(
'attachments'));
 
   38                $this->items[] = $label;
 
   43                $tpl = 
new ilTemplate(
'tpl.mail_new_attachments.html', 
true, 
true, 
'Services/Mail');
 
   45                foreach($this->items as $item)
 
   47                        $tpl->setCurrentBlock(
'attachment_list_item');
 
   48                        $tpl->setVariable(
'ATTACHMENT_LABEL', $item);
 
   49                        $tpl->parseCurrentBlock();
 
   51                $tpl->setVariable(
'ATTACHMENT_BUTTON_LABEL', $this->buttonLabel);
 
   53                $a_tpl->setCurrentBlock(
"prop_generic");
 
   54                $a_tpl->setVariable(
"PROP_GENERIC", 
$tpl->get());
 
   55                $a_tpl->parseCurrentBlock();    
 
An exception for terminatinating execution or to throw for unit testing.
special template class to simplify handling of ITX/PEAR