private static function assign_user_flags() {
        return new external_single_structure(
            array (
                'assignmentid'    => new external_value(PARAM_INT, 'assignment id'),
                'userflags'   => new external_multiple_structure(new external_single_structure(
                        array(
                            'id'               => new external_value(PARAM_INT, 'user flag id'),
                            'userid'           => new external_value(PARAM_INT, 'student id'),
                            'locked'           => new external_value(PARAM_INT, 'locked'),
                            'mailed'           => new external_value(PARAM_INT, 'mailed'),
                            'extensionduedate' => new external_value(PARAM_INT, 'extension due date'),
                            'workflowstate'    => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL),
                            'allocatedmarker'  => new external_value(PARAM_INT, 'allocated marker')
                        )
                    )
                )
            )
        );
    }
private static function assign_user_flags() {
        return new external_single_structure(
            array (
                'assignmentid'    => new external_value(PARAM_INT, 'assignment id'),
                'userflags'   => new external_multiple_structure(new external_single_structure(
                        array(
                            'id'               => new external_value(PARAM_INT, 'user flag id'),
                            'userid'           => new external_value(PARAM_INT, 'student id'),
                            'locked'           => new external_value(PARAM_INT, 'locked'),
                            'mailed'           => new external_value(PARAM_INT, 'mailed'),
                            'extensionduedate' => new external_value(PARAM_INT, 'extension due date'),
                            'workflowstate'    => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL),
                            'allocatedmarker'  => new external_value(PARAM_INT, 'allocated marker')
                        )
                    )
                )
            )
        );
    }
private static function assign_user_flags ( ) { return new external_single_structure ( array ( 'assignmentid' => new external_value ( PARAM_INT , 'assignment id' ) , 'userflags' => new external_multiple_structure ( new external_single_structure ( array ( 'id' => new external_value ( PARAM_INT , 'user flag id' ) , 'userid' => new external_value ( PARAM_INT , 'student id' ) , 'locked' => new external_value ( PARAM_INT , 'locked' ) , 'mailed' => new external_value ( PARAM_INT , 'mailed' ) , 'extensionduedate' => new external_value ( PARAM_INT , 'extension due date' ) , 'workflowstate' => new external_value ( PARAM_ALPHA , 'marking workflow state' , VALUE_OPTIONAL ) , 'allocatedmarker' => new external_value ( PARAM_INT , 'allocated marker' ) ) ) ) ) ) ; }
Creates an assign_user_flags external_single_structure
@return external_single_structure
@since  Moodle 2.6
Creates an assign_user_flags external_single_structure