Swat/SwatRadioNoteBook.php
public function processValue()
    {
        $form = $this->getForm();

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

        $data = &$form->getFormData();

        if (isset($data[$this->id])) {
            // get selected page id, strip off this id prefix
            $this->selected_page = mb_substr(
                $data[$this->id],
                mb_strlen($this->id) + 1
            );
        } else {
            $this->selected_page = null;
        }

        return true;
    }
public function processValue()
    {
        $form = $this->getForm();

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

        $data = &$form->getFormData();

        if (isset($data[$this->id])) {
            // get selected page id, strip off this id prefix
            $this->selected_page = mb_substr(
                $data[$this->id],
                mb_strlen($this->id) + 1
            );
        } else {
            $this->selected_page = null;
        }

        return true;
    }
public function processValue ( ) { $ form = $ this -> getForm ( ) ; if ( $ form -> getHiddenField ( $ this -> id . '_submitted' ) === null ) { return false ; } $ data = & $ form -> getFormData ( ) ; if ( isset ( $ data [ $ this -> id ] ) ) { // get selected page id, strip off this id prefix $ this -> selected_page = mb_substr ( $ data [ $ this -> id ] , mb_strlen ( $ this -> id ) + 1 ) ; } else { $ this -> selected_page = null ; } return true ; }
Processes the value of this radio list from user-submitted form data

This method can be used to process the list value without processing
the selected page widget sub-tree.

@return boolean true if the value was processed from form data
Processes the value of this radio list from user - submitted form data