Habari\FormControlCheckbox::process PHP Метод

process() публичный Метод

Obtain the value of this control as supplied by the incoming $_POST values
public process ( )
    public function process()
    {
        if (isset($_POST[$this->input_name()]) && $_POST[$this->input_name()] == $this->returned_value) {
            $this->value = $this->returned_value;
        } else {
            $this->value = false;
        }
    }