Exemplo n.º 1
0
 public function set_value($value, $manually = true)
 {
     if ($value != false) {
         $this->returned_value = $value;
     }
     return parent::set_value($value, $manually);
 }
Exemplo n.º 2
0
 /**
  * Set the value of this control
  * @param mixed $value The value to set
  * @param bool $manually True if this value is set internally rather than being POSTed in the form
  * @return FormControl $this
  */
 public function set_value($value, $manually = true)
 {
     $this->node->value = $value;
     return parent::set_value($value, $manually);
 }