4include_once 
'Services/Form/interfaces/interface.ilMultiValuesItem.php';
 
   27    public function __construct($a_title = 
"", $a_id = 
"", $a_disable_escaping = 
false)
 
   29        parent::__construct($a_title, $a_id);
 
   31        $this->
setType(
"non_editable_value");
 
   32        $this->disable_escaping = (bool) $a_disable_escaping;
 
   70        $this->title = $a_title;
 
   90        $this->info = $a_info;
 
  110        if ($this->
getMulti() && is_array($a_value)) {
 
  112            $a_value = array_shift($a_value);
 
  114        $this->value = $a_value;
 
  132        $tpl = 
new ilTemplate(
"tpl.non_editable_value.html", 
true, 
true, 
"Services/Form");
 
  139            $tpl->setCurrentBlock(
"hidden");
 
  143            $tpl->parseCurrentBlock();
 
  146        if (!$this->disable_escaping) {
 
  151        $tpl->parseCurrentBlock();
 
  167        $a_tpl->setCurrentBlock(
"prop_generic");
 
  168        $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
 
  169        $a_tpl->parseCurrentBlock();
 
  183            $item->setValueByArray($a_values);
 
An exception for terminatinating execution or to throw for unit testing.
This class represents a non editable value in a property form.
setValueByArray($a_values)
Set value by array.
insert($a_tpl)
Insert property html.
checkInput()
Check input, strip slashes etc.
setTitle($a_title)
Set Title.
setType($a_type)
Set Type.
__construct($a_title="", $a_id="", $a_disable_escaping=false)
Constructor.
setInfo($a_info)
Set Information Text.
getInfo()
Get Information Text.
setValue($a_value)
Set Value.
getTableFilterHTML()
Get HTML for table filter.
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
Interface for multi values support.
Interface for property form input GUI classes that can be used in table filters.