2 require_once(
'./Services/Form/classes/class.ilPropertyFormGUI.php');
3 require_once(
'class.ilMemcacheServer.php');
33 $this->is_new = ($this->
object->getId() == 0);
47 $te->setRequired(
true);
51 $te->setRequired(
true);
55 $se->setOptions(array( 10 => 10, 20 => 20, 30 => 30, 40 => 40, 50 => 50, 60 => 60, 70 => 70, 80 => 80, 90 => 90, 100 => 100 ));
63 self::F_HOST => $this->
object->getHost(),
64 self::F_PORT => $this->
object->getPort(),
65 self::F_WEIGHT => $this->
object->getWeight(),
80 $this->
object->setHost($this->
getInput(self::F_HOST));
81 $this->
object->setPort($this->
getInput(self::F_PORT));
82 $this->
object->setWeight($this->
getInput(self::F_WEIGHT));
93 protected function txt($key) {
94 return $this->lng->txt(
'memcache_' . $key);
106 if ($this->object->getId()) {
107 $this->
object->update();
109 $this->
object->create();
112 return $this->
object->getId();
123 case ! $this->is_new:
This class represents a text property in a property form.