2require_once(
'./Services/Form/classes/class.ilPropertyFormGUI.php');
 
    3require_once(
'class.ilMemcacheServer.php');
 
   34                $this->is_new = ($this->
object->getId() == 0);
 
   48                $te->setRequired(
true);
 
   52                $te->setRequired(
true);
 
   56                $se->setOptions(array( 10 => 10, 20 => 20, 30 => 30, 40 => 40, 50 => 50, 60 => 60, 70 => 70, 80 => 80, 90 => 90, 100 => 100 ));
 
   64                        self::F_HOST   => $this->object->getHost(),
 
   65                        self::F_PORT   => $this->object->getPort(),
 
   66                        self::F_WEIGHT => $this->object->getWeight(),
 
   81                $this->
object->setHost($this->
getInput(self::F_HOST));
 
   82                $this->
object->setPort($this->
getInput(self::F_PORT));
 
   83                $this->
object->setWeight($this->
getInput(self::F_WEIGHT));
 
   94        protected function txt($key) {
 
   95                return $this->lng->txt(
'memcache_' . $key);
 
  107                if ($this->object->getId()) {
 
  108                        $this->
object->update();
 
  110                        $this->
object->create();
 
  113                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.