original_string: public static function upload_returns() {
          return new external_single_structure(
               array(
                   'contextid' => new external_value(PARAM_INT, ''),
                   'component' => new external_value(PARAM_COMPONENT, ''),
                   'filearea'  => new external_value(PARAM_AREA, ''),
                   'itemid'   => new external_value(PARAM_INT, ''),
                   'filepath' => new external_value(PARAM_TEXT, ''),
                   'filename' => new external_value(PARAM_FILE, ''),
                   'url'      => new external_value(PARAM_TEXT, ''),
               )
          );
      }
code: public static function upload_returns() {
          return new external_single_structure(
               array(
                   'contextid' => new external_value(PARAM_INT, ''),
                   'component' => new external_value(PARAM_COMPONENT, ''),
                   'filearea'  => new external_value(PARAM_AREA, ''),
                   'itemid'   => new external_value(PARAM_INT, ''),
                   'filepath' => new external_value(PARAM_TEXT, ''),
                   'filename' => new external_value(PARAM_FILE, ''),
                   'url'      => new external_value(PARAM_TEXT, ''),
               )
          );
      }
code_tokens: public static function upload_returns ( ) { return new external_single_structure ( array ( 'contextid' => new external_value ( PARAM_INT , '' ) , 'component' => new external_value ( PARAM_COMPONENT , '' ) , 'filearea' => new external_value ( PARAM_AREA , '' ) , 'itemid' => new external_value ( PARAM_INT , '' ) , 'filepath' => new external_value ( PARAM_TEXT , '' ) , 'filename' => new external_value ( PARAM_FILE , '' ) , 'url' => new external_value ( PARAM_TEXT , '' ) , ) ) ; }
docstring: Returns description of upload returns
  
  @return external_single_structure
  @since Moodle 2.2
docstring_tokens: Returns description of upload returns