original_string: public static function set_user_flags_parameters() {
          return new external_function_parameters(
              array(
                  'assignmentid'    => new external_value(PARAM_INT, 'assignment id'),
                  'userflags' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'userid'           => new external_value(PARAM_INT, 'student id'),
                              'locked'           => new external_value(PARAM_INT, 'locked', VALUE_OPTIONAL),
                              'mailed'           => new external_value(PARAM_INT, 'mailed', VALUE_OPTIONAL),
                              'extensionduedate' => new external_value(PARAM_INT, 'extension due date', VALUE_OPTIONAL),
                              'workflowstate'    => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL),
                              'allocatedmarker'  => new external_value(PARAM_INT, 'allocated marker', VALUE_OPTIONAL)
                          )
                      )
                  )
              )
          );
      }
code: public static function set_user_flags_parameters() {
          return new external_function_parameters(
              array(
                  'assignmentid'    => new external_value(PARAM_INT, 'assignment id'),
                  'userflags' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'userid'           => new external_value(PARAM_INT, 'student id'),
                              'locked'           => new external_value(PARAM_INT, 'locked', VALUE_OPTIONAL),
                              'mailed'           => new external_value(PARAM_INT, 'mailed', VALUE_OPTIONAL),
                              'extensionduedate' => new external_value(PARAM_INT, 'extension due date', VALUE_OPTIONAL),
                              'workflowstate'    => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL),
                              'allocatedmarker'  => new external_value(PARAM_INT, 'allocated marker', VALUE_OPTIONAL)
                          )
                      )
                  )
              )
          );
      }
code_tokens: public static function set_user_flags_parameters ( ) { return new external_function_parameters ( array ( 'assignmentid' => new external_value ( PARAM_INT , 'assignment id' ) , 'userflags' => new external_multiple_structure ( new external_single_structure ( array ( 'userid' => new external_value ( PARAM_INT , 'student id' ) , 'locked' => new external_value ( PARAM_INT , 'locked' , VALUE_OPTIONAL ) , 'mailed' => new external_value ( PARAM_INT , 'mailed' , VALUE_OPTIONAL ) , 'extensionduedate' => new external_value ( PARAM_INT , 'extension due date' , VALUE_OPTIONAL ) , 'workflowstate' => new external_value ( PARAM_ALPHA , 'marking workflow state' , VALUE_OPTIONAL ) , 'allocatedmarker' => new external_value ( PARAM_INT , 'allocated marker' , VALUE_OPTIONAL ) ) ) ) ) ) ; }
docstring: Describes the parameters for set_user_flags
  @return external_function_parameters
  @since  Moodle 2.6
docstring_tokens: Describes the parameters for set_user_flags