Swat/SwatCheckbox.php
public function process()
    {
        parent::process();

        if (
            $this->getForm()->getHiddenField($this->id . '_submitted') === null
        ) {
            return;
        }

        $data = &$this->getForm()->getFormData();
        $this->value = array_key_exists($this->id, $data);
    }
public function process()
    {
        parent::process();

        if (
            $this->getForm()->getHiddenField($this->id . '_submitted') === null
        ) {
            return;
        }

        $data = &$this->getForm()->getFormData();
        $this->value = array_key_exists($this->id, $data);
    }
public function process ( ) { parent :: process ( ) ; if ( $ this -> getForm ( ) -> getHiddenField ( $ this -> id . '_submitted' ) === null ) { return ; } $ data = & $ this -> getForm ( ) -> getFormData ( ) ; $ this -> value = array_key_exists ( $ this -> id , $ data ) ; }
Processes this checkbox

Sets the internal value of this checkbox based on submitted form data.
Processes this checkbox