public function process(base_moodleform $form = null) {
        $form = $this->initialise_stage_form();
        // Check it hasn't been cancelled.
        if ($form->is_cancelled()) {
            $this->ui->cancel_process();
        }

        $data = $form->get_data();
        if ($data && confirm_sesskey()) {
            return 0;
        } else {
            return false;
        }
    }
public function process(base_moodleform $form = null) {
        $form = $this->initialise_stage_form();
        // Check it hasn't been cancelled.
        if ($form->is_cancelled()) {
            $this->ui->cancel_process();
        }

        $data = $form->get_data();
        if ($data && confirm_sesskey()) {
            return 0;
        } else {
            return false;
        }
    }
public function process ( base_moodleform $ form = null ) { $ form = $ this -> initialise_stage_form ( ) ; // Check it hasn't been cancelled. if ( $ form -> is_cancelled ( ) ) { $ this -> ui -> cancel_process ( ) ; } $ data = $ form -> get_data ( ) ; if ( $ data && confirm_sesskey ( ) ) { return 0 ; } else { return false ; } }
Processes the confirmation stage

@param base_moodleform $form
@return int The number of changes the user made
Processes the confirmation stage