Example #1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $post
  * @param    array $errors
  * @return   string
  */
 function restorePOST()
 {
     $errors = POSTErrors::getErrorFor($this->getName(), $this->getAdditionalID());
     if ($errors !== null) {
         $this->setFilterError(implode("<br/>", $errors));
     }
     $post_data = POSTErrors::getPOSTData($this->getName(), $this->getAdditionalID());
     if (isset($post_data)) {
         $this->setChecked(1);
     }
 }
Example #2
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $post
  * @param    array $errors
  * @return   string
  */
 function restorePOST()
 {
     $errors = POSTErrors::getErrorFor($this->getName(), $this->getAdditionalID());
     if ($errors !== null) {
         $this->setFilterError(implode("<br/>", $errors));
     }
     $post_data = POSTErrors::getPOSTData($this->getName(), $this->getAdditionalID());
     if (isset($post_data)) {
         ResultSetPool::set(t(new ResultSet())->f1("wselect[name=" . $this->getName() . "]  wselectoption[value=" . $post_data . "]")->set('selected', 1), ResultSetPool::SYSTEM_PRIORITY);
     }
 }
Example #3
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $post
  * @param    array $errors
  * @return   string
  */
 function restorePOST()
 {
     $errors = POSTErrors::getErrorFor($this->getName(), $this->getAdditionalID());
     if ($errors !== null) {
         $this->setFilterError(implode("<br/>", $errors));
     }
     $this->setValue(POSTErrors::getPOSTData($this->getName(), $this->getAdditionalID()));
 }