public static function get_urls_by_courses_returns() {
        return new external_single_structure(
            array(
                'urls' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'id' => new external_value(PARAM_INT, 'Module id'),
                            'coursemodule' => new external_value(PARAM_INT, 'Course module id'),
                            'course' => new external_value(PARAM_INT, 'Course id'),
                            'name' => new external_value(PARAM_RAW, 'URL name'),
                            'intro' => new external_value(PARAM_RAW, 'Summary'),
                            'introformat' => new external_format_value('intro', 'Summary format'),
                            'introfiles' => new external_files('Files in the introduction text'),
                            'externalurl' => new external_value(PARAM_RAW_TRIMMED, 'External URL'),
                            'display' => new external_value(PARAM_INT, 'How to display the url'),
                            'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'),
                            'parameters' => new external_value(PARAM_RAW, 'Parameters to append to the URL'),
                            'timemodified' => new external_value(PARAM_INT, 'Last time the url was modified'),
                            'section' => new external_value(PARAM_INT, 'Course section id'),
                            'visible' => new external_value(PARAM_INT, 'Module visibility'),
                            'groupmode' => new external_value(PARAM_INT, 'Group mode'),
                            'groupingid' => new external_value(PARAM_INT, 'Grouping id'),
                        )
                    )
                ),
                'warnings' => new external_warnings(),
            )
        );
    }
public static function get_urls_by_courses_returns() {
        return new external_single_structure(
            array(
                'urls' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'id' => new external_value(PARAM_INT, 'Module id'),
                            'coursemodule' => new external_value(PARAM_INT, 'Course module id'),
                            'course' => new external_value(PARAM_INT, 'Course id'),
                            'name' => new external_value(PARAM_RAW, 'URL name'),
                            'intro' => new external_value(PARAM_RAW, 'Summary'),
                            'introformat' => new external_format_value('intro', 'Summary format'),
                            'introfiles' => new external_files('Files in the introduction text'),
                            'externalurl' => new external_value(PARAM_RAW_TRIMMED, 'External URL'),
                            'display' => new external_value(PARAM_INT, 'How to display the url'),
                            'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'),
                            'parameters' => new external_value(PARAM_RAW, 'Parameters to append to the URL'),
                            'timemodified' => new external_value(PARAM_INT, 'Last time the url was modified'),
                            'section' => new external_value(PARAM_INT, 'Course section id'),
                            'visible' => new external_value(PARAM_INT, 'Module visibility'),
                            'groupmode' => new external_value(PARAM_INT, 'Group mode'),
                            'groupingid' => new external_value(PARAM_INT, 'Grouping id'),
                        )
                    )
                ),
                'warnings' => new external_warnings(),
            )
        );
    }
public static function get_urls_by_courses_returns ( ) { return new external_single_structure ( array ( 'urls' => new external_multiple_structure ( new external_single_structure ( array ( 'id' => new external_value ( PARAM_INT , 'Module id' ) , 'coursemodule' => new external_value ( PARAM_INT , 'Course module id' ) , 'course' => new external_value ( PARAM_INT , 'Course id' ) , 'name' => new external_value ( PARAM_RAW , 'URL name' ) , 'intro' => new external_value ( PARAM_RAW , 'Summary' ) , 'introformat' => new external_format_value ( 'intro' , 'Summary format' ) , 'introfiles' => new external_files ( 'Files in the introduction text' ) , 'externalurl' => new external_value ( PARAM_RAW_TRIMMED , 'External URL' ) , 'display' => new external_value ( PARAM_INT , 'How to display the url' ) , 'displayoptions' => new external_value ( PARAM_RAW , 'Display options (width, height)' ) , 'parameters' => new external_value ( PARAM_RAW , 'Parameters to append to the URL' ) , 'timemodified' => new external_value ( PARAM_INT , 'Last time the url was modified' ) , 'section' => new external_value ( PARAM_INT , 'Course section id' ) , 'visible' => new external_value ( PARAM_INT , 'Module visibility' ) , 'groupmode' => new external_value ( PARAM_INT , 'Group mode' ) , 'groupingid' => new external_value ( PARAM_INT , 'Grouping id' ) , ) ) ) , 'warnings' => new external_warnings ( ) , ) ) ; }
Describes the get_urls_by_courses return value.

@return external_single_structure
@since Moodle 3.3
Describes the get_urls_by_courses return value .