private function restoreFromRememberMeCookie()
 {
     if (!$this->cookiesWrapper->isValueSet(self::KEY_REMEMBER_ME)) {
         return null;
     }
     return $this->rememberMeGenerator->decode($this->cookiesWrapper->getValue(self::KEY_REMEMBER_ME));
 }
 public function extractValueFromArray(ArrayWrapper $arrayWrapper, &$valueChanged)
 {
     if ($this->GetReadOnly()) {
         $valueChanged = false;
         return null;
     } else {
         $valueChanged = true;
         return $arrayWrapper->isValueSet($this->GetName()) ? '1' : '0';
     }
 }
 /**
  * @{inheritdoc}
  */
 public function extractValueFromArray(ArrayWrapper $arrayWrapper, &$valueChanged)
 {
     $valueChanged = true;
     if ($arrayWrapper->isValueSet($this->GetName())) {
         $valuesArray = $arrayWrapper->GetValue($this->GetName());
         $result = '';
         foreach ($valuesArray as $value) {
             AddStr($result, $value, ',');
         }
         return $result;
     } else {
         return '';
     }
 }
 public function extractValueFromArray(ArrayWrapper $arrayWrapper, &$changed)
 {
     $editorName = $this->GetEditorName($this->GetLevelCount() - 1);
     if ($arrayWrapper->isValueSet($editorName)) {
         $changed = true;
         $value = $arrayWrapper->getValue($editorName);
         return $value;
     } else {
         $changed = false;
         return null;
     }
 }