Swat/SwatRadioButtonCellRenderer.php
public function process()
    {
        $form = $this->getForm();
        if ($form !== null && $form->isSubmitted()) {
            $data = $form->getFormData();
            if (isset($data[$this->id])) {
                $this->selected_value = $data[$this->id];

                $view = $this->getFirstAncestor('SwatView');
                if ($view !== null) {
                    $selection = new SwatViewSelection(array(
                        $this->selected_value
                    ));

                    $view->setSelection($selection, $this);
                }
            }
        }
    }
public function process()
    {
        $form = $this->getForm();
        if ($form !== null && $form->isSubmitted()) {
            $data = $form->getFormData();
            if (isset($data[$this->id])) {
                $this->selected_value = $data[$this->id];

                $view = $this->getFirstAncestor('SwatView');
                if ($view !== null) {
                    $selection = new SwatViewSelection(array(
                        $this->selected_value
                    ));

                    $view->setSelection($selection, $this);
                }
            }
        }
    }
public function process ( ) { $ form = $ this -> getForm ( ) ; if ( $ form !== null && $ form -> isSubmitted ( ) ) { $ data = $ form -> getFormData ( ) ; if ( isset ( $ data [ $ this -> id ] ) ) { $ this -> selected_value = $ data [ $ this -> id ] ; $ view = $ this -> getFirstAncestor ( 'SwatView' ) ; if ( $ view !== null ) { $ selection = new SwatViewSelection ( array ( $ this -> selected_value ) ) ; $ view -> setSelection ( $ selection , $ this ) ; } } } }
Processes this radio button cell renderer
Processes this radio button cell renderer