3 declare(strict_types=1);
    38         bool $a_disable_escaping = 
false    42         $this->
setType(
"non_editable_value");
    43         $this->disable_escaping = $a_disable_escaping;
    62     protected function setType(
string $a_type): void
    64         $this->type = $a_type;
    72     public function setTitle(
string $a_title): void
    74         $this->title = $a_title;
    82     public function setInfo(
string $a_info): void
    84         $this->
info = $a_info;
    97         if ($this->
getMulti() && is_array($a_value)) {
    99             $a_value = array_shift($a_value);
   101         $this->value = $a_value;
   116         $tpl = 
new ilTemplate(
"tpl.non_editable_value.html", 
true, 
true, 
"Services/Form");
   123             $tpl->setCurrentBlock(
"hidden");
   124             $tpl->setVariable(
'NON_EDITABLE_ID', 
$postvar);
   125             $tpl->setVariable(
'MULTI_HIDDEN_ID', $this->
getFieldId());
   127             $tpl->parseCurrentBlock();
   130         if (!$this->disable_escaping) {
   133         $tpl->setVariable(
"VALUE", 
$value);
   135             $tpl->setVariable(
"ID", 
' id="' . $this->
getFieldId() . 
'" ');
   137         $tpl->parseCurrentBlock();
   160             $item->setValueByArray($a_values);
 parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
getTableFilterHTML()
Get input item HTML to be inserted into table filters. 
 
setValueByArray(array $a_values)
 
setVariable($variable, $value='')
Sets a variable value. 
 
insert(ilTemplate $a_tpl)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
__construct(string $a_title="", string $a_id="", bool $a_disable_escaping=false)
 
setTitle(string $a_title)