original_string: public static function get_imscps_by_courses_returns() {
          return new external_single_structure(
              array(
                  'imscps' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'id' => new external_value(PARAM_INT, 'IMSCP id'),
                              'coursemodule' => new external_value(PARAM_INT, 'Course module id'),
                              'course' => new external_value(PARAM_INT, 'Course id'),
                              'name' => new external_value(PARAM_RAW, 'Activity name'),
                              'intro' => new external_value(PARAM_RAW, 'The IMSCP intro', VALUE_OPTIONAL),
                              'introformat' => new external_format_value('intro', VALUE_OPTIONAL),
                              'introfiles' => new external_files('Files in the introduction text', VALUE_OPTIONAL),
                              'revision' => new external_value(PARAM_INT, 'Revision', VALUE_OPTIONAL),
                              'keepold' => new external_value(PARAM_INT, 'Number of old IMSCP to keep', VALUE_OPTIONAL),
                              'structure' => new external_value(PARAM_RAW, 'IMSCP structure', VALUE_OPTIONAL),
                              'timemodified' => new external_value(PARAM_RAW, 'Time of last modification', VALUE_OPTIONAL),
                              'section' => new external_value(PARAM_INT, 'Course section id', VALUE_OPTIONAL),
                              'visible' => new external_value(PARAM_BOOL, 'If visible', VALUE_OPTIONAL),
                              'groupmode' => new external_value(PARAM_INT, 'Group mode', VALUE_OPTIONAL),
                              'groupingid' => new external_value(PARAM_INT, 'Group id', VALUE_OPTIONAL),
                          ), 'IMS content packages'
                      )
                  ),
                  'warnings' => new external_warnings(),
              )
          );
      }
code: public static function get_imscps_by_courses_returns() {
          return new external_single_structure(
              array(
                  'imscps' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'id' => new external_value(PARAM_INT, 'IMSCP id'),
                              'coursemodule' => new external_value(PARAM_INT, 'Course module id'),
                              'course' => new external_value(PARAM_INT, 'Course id'),
                              'name' => new external_value(PARAM_RAW, 'Activity name'),
                              'intro' => new external_value(PARAM_RAW, 'The IMSCP intro', VALUE_OPTIONAL),
                              'introformat' => new external_format_value('intro', VALUE_OPTIONAL),
                              'introfiles' => new external_files('Files in the introduction text', VALUE_OPTIONAL),
                              'revision' => new external_value(PARAM_INT, 'Revision', VALUE_OPTIONAL),
                              'keepold' => new external_value(PARAM_INT, 'Number of old IMSCP to keep', VALUE_OPTIONAL),
                              'structure' => new external_value(PARAM_RAW, 'IMSCP structure', VALUE_OPTIONAL),
                              'timemodified' => new external_value(PARAM_RAW, 'Time of last modification', VALUE_OPTIONAL),
                              'section' => new external_value(PARAM_INT, 'Course section id', VALUE_OPTIONAL),
                              'visible' => new external_value(PARAM_BOOL, 'If visible', VALUE_OPTIONAL),
                              'groupmode' => new external_value(PARAM_INT, 'Group mode', VALUE_OPTIONAL),
                              'groupingid' => new external_value(PARAM_INT, 'Group id', VALUE_OPTIONAL),
                          ), 'IMS content packages'
                      )
                  ),
                  'warnings' => new external_warnings(),
              )
          );
      }
code_tokens: public static function get_imscps_by_courses_returns ( ) { return new external_single_structure ( array ( 'imscps' => new external_multiple_structure ( new external_single_structure ( array ( 'id' => new external_value ( PARAM_INT , 'IMSCP id' ) , 'coursemodule' => new external_value ( PARAM_INT , 'Course module id' ) , 'course' => new external_value ( PARAM_INT , 'Course id' ) , 'name' => new external_value ( PARAM_RAW , 'Activity name' ) , 'intro' => new external_value ( PARAM_RAW , 'The IMSCP intro' , VALUE_OPTIONAL ) , 'introformat' => new external_format_value ( 'intro' , VALUE_OPTIONAL ) , 'introfiles' => new external_files ( 'Files in the introduction text' , VALUE_OPTIONAL ) , 'revision' => new external_value ( PARAM_INT , 'Revision' , VALUE_OPTIONAL ) , 'keepold' => new external_value ( PARAM_INT , 'Number of old IMSCP to keep' , VALUE_OPTIONAL ) , 'structure' => new external_value ( PARAM_RAW , 'IMSCP structure' , VALUE_OPTIONAL ) , 'timemodified' => new external_value ( PARAM_RAW , 'Time of last modification' , VALUE_OPTIONAL ) , 'section' => new external_value ( PARAM_INT , 'Course section id' , VALUE_OPTIONAL ) , 'visible' => new external_value ( PARAM_BOOL , 'If visible' , VALUE_OPTIONAL ) , 'groupmode' => new external_value ( PARAM_INT , 'Group mode' , VALUE_OPTIONAL ) , 'groupingid' => new external_value ( PARAM_INT , 'Group id' , VALUE_OPTIONAL ) , ) , 'IMS content packages' ) ) , 'warnings' => new external_warnings ( ) , ) ) ; }
docstring: Describes the get_imscps_by_courses return value.
  
  @return external_single_structure
  @since Moodle 3.0
docstring_tokens: Describes the get_imscps_by_courses return value .