code: protected function encode()
      {
          $class    = $this->encoding;
          $encoding = new $class();
          for ($i = 0, $count = count($this->widgets); $i < $count; $i++) {
              $this->widgets[$i]->write($encoding);
          }
  
          return $encoding;
      }
docs: Creates the encoding for the current values in the form.
  
  @return SimpleFormEncoding    Request to submit.