Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00031 class ilNonEditableValueGUI
00032 {
00033 protected $type;
00034 protected $value;
00035 protected $title;
00036 protected $info;
00037 protected $section_icon;
00038
00044 function __construct($a_title = "")
00045 {
00046 $this->setTitle($a_title);
00047 $this->setType("non_editable_value");
00048 }
00049
00050 function checkInput()
00051 {
00052 return true;
00053 }
00054
00060 function setType($a_type)
00061 {
00062 $this->type = $a_type;
00063 }
00064
00070 function getType()
00071 {
00072 return $this->type;
00073 }
00074
00080 function setTitle($a_title)
00081 {
00082 $this->title = $a_title;
00083 }
00084
00090 function getTitle()
00091 {
00092 return $this->title;
00093 }
00094
00100 function setInfo($a_info)
00101 {
00102 $this->info = $a_info;
00103 }
00104
00110 function getInfo()
00111 {
00112 return $this->info;
00113 }
00114
00120 function setValue($a_value)
00121 {
00122 $this->value = $a_value;
00123 }
00124
00130 function getValue()
00131 {
00132 return $this->value;
00133 }
00134
00139 function insert(&$a_tpl)
00140 {
00141 $a_tpl->setCurrentBlock("non_editable_value");
00142 $a_tpl->setVariable("VALUE", $this->getValue());
00143 $a_tpl->parseCurrentBlock();
00144 }
00145
00146 }