2require_once(
'./Services/Form/classes/class.ilPropertyFormGUI.php');
 
    3require_once(
'class.ilMemcacheServer.php');
 
   35        $this->is_new = ($this->
object->getId() == 0);
 
   50        $te->setRequired(
true);
 
   54        $te->setRequired(
true);
 
   58        $se->setOptions(array( 10 => 10, 20 => 20, 30 => 30, 40 => 40, 50 => 50, 60 => 60, 70 => 70, 80 => 80, 90 => 90, 100 => 100 ));
 
   67            self::F_HOST => $this->object->getHost(),
 
   68            self::F_PORT => $this->object->getPort(),
 
   69            self::F_WEIGHT => $this->object->getWeight(),
 
   85        $this->
object->setHost($this->
getInput(self::F_HOST));
 
   86        $this->
object->setPort($this->
getInput(self::F_PORT));
 
   87        $this->
object->setWeight($this->
getInput(self::F_WEIGHT));
 
  100        return $this->lng->txt(
'memcache_' . 
$key);
 
  113        if ($this->object->getId()) {
 
  114            $this->
object->update();
 
  116            $this->
object->create();
 
  119        return $this->
object->getId();
 
An exception for terminatinating execution or to throw for unit testing.
This class represents a text property in a property form.