public function process_autosave($submitteddata, $timestamp = null, $userid = null) {
        $pendingstep = new question_attempt_pending_step($submitteddata, $timestamp, $userid);
        if ($this->behaviour->process_autosave($pendingstep) == self::KEEP) {
            $this->add_autosaved_step($pendingstep);
            return true;
        }
        return false;
    }
public function process_autosave($submitteddata, $timestamp = null, $userid = null) {
        $pendingstep = new question_attempt_pending_step($submitteddata, $timestamp, $userid);
        if ($this->behaviour->process_autosave($pendingstep) == self::KEEP) {
            $this->add_autosaved_step($pendingstep);
            return true;
        }
        return false;
    }
public function process_autosave ( $ submitteddata , $ timestamp = null , $ userid = null ) { $ pendingstep = new question_attempt_pending_step ( $ submitteddata , $ timestamp , $ userid ) ; if ( $ this -> behaviour -> process_autosave ( $ pendingstep ) == self :: KEEP ) { $ this -> add_autosaved_step ( $ pendingstep ) ; return true ; } return false ; }
Process an autosave.
@param array $submitteddata the submitted data the determines the action.
@param int $timestamp the time to record for the action. (If not given, use now.)
@param int $userid the user to attribute the action to. (If not given, use the current user.)
@return bool whether anything was saved.
Process an autosave .