public function process_all_actions($timestamp = null, $postdata = null) {
        foreach ($this->get_slots_in_request($postdata) as $slot) {
            if (!$this->validate_sequence_number($slot, $postdata)) {
                continue;
            }
            $submitteddata = $this->extract_responses($slot, $postdata);
            $this->process_action($slot, $submitteddata, $timestamp);
        }
        $this->update_question_flags($postdata);
    }
public function process_all_actions($timestamp = null, $postdata = null) {
        foreach ($this->get_slots_in_request($postdata) as $slot) {
            if (!$this->validate_sequence_number($slot, $postdata)) {
                continue;
            }
            $submitteddata = $this->extract_responses($slot, $postdata);
            $this->process_action($slot, $submitteddata, $timestamp);
        }
        $this->update_question_flags($postdata);
    }
public function process_all_actions ( $ timestamp = null , $ postdata = null ) { foreach ( $ this -> get_slots_in_request ( $ postdata ) as $ slot ) { if ( ! $ this -> validate_sequence_number ( $ slot , $ postdata ) ) { continue ; } $ submitteddata = $ this -> extract_responses ( $ slot , $ postdata ) ; $ this -> process_action ( $ slot , $ submitteddata , $ timestamp ) ; } $ this -> update_question_flags ( $ postdata ) ; }
Process all the question actions in the current request.

If there is a parameter slots included in the post data, then only
those question numbers will be processed, otherwise all questions in this
useage will be.

This function also does {@link update_question_flags()}.

@param int $timestamp optional, use this timestamp as 'now'.
@param array $postdata optional, only intended for testing. Use this data
instead of the data from $_POST.
Process all the question actions in the current request .