original_string: public static function get_forum_discussions_paginated_parameters() {
          return new external_function_parameters (
              array(
                  'forumid' => new external_value(PARAM_INT, 'forum instance id', VALUE_REQUIRED),
                  'sortby' => new external_value(PARAM_ALPHA,
                      'sort by this element: id, timemodified, timestart or timeend', VALUE_DEFAULT, 'timemodified'),
                  'sortdirection' => new external_value(PARAM_ALPHA, 'sort direction: ASC or DESC', VALUE_DEFAULT, 'DESC'),
                  'page' => new external_value(PARAM_INT, 'current page', VALUE_DEFAULT, -1),
                  'perpage' => new external_value(PARAM_INT, 'items per page', VALUE_DEFAULT, 0),
              )
          );
      }
code: public static function get_forum_discussions_paginated_parameters() {
          return new external_function_parameters (
              array(
                  'forumid' => new external_value(PARAM_INT, 'forum instance id', VALUE_REQUIRED),
                  'sortby' => new external_value(PARAM_ALPHA,
                      'sort by this element: id, timemodified, timestart or timeend', VALUE_DEFAULT, 'timemodified'),
                  'sortdirection' => new external_value(PARAM_ALPHA, 'sort direction: ASC or DESC', VALUE_DEFAULT, 'DESC'),
                  'page' => new external_value(PARAM_INT, 'current page', VALUE_DEFAULT, -1),
                  'perpage' => new external_value(PARAM_INT, 'items per page', VALUE_DEFAULT, 0),
              )
          );
      }
code_tokens: public static function get_forum_discussions_paginated_parameters ( ) { return new external_function_parameters ( array ( 'forumid' => new external_value ( PARAM_INT , 'forum instance id' , VALUE_REQUIRED ) , 'sortby' => new external_value ( PARAM_ALPHA , 'sort by this element: id, timemodified, timestart or timeend' , VALUE_DEFAULT , 'timemodified' ) , 'sortdirection' => new external_value ( PARAM_ALPHA , 'sort direction: ASC or DESC' , VALUE_DEFAULT , 'DESC' ) , 'page' => new external_value ( PARAM_INT , 'current page' , VALUE_DEFAULT , - 1 ) , 'perpage' => new external_value ( PARAM_INT , 'items per page' , VALUE_DEFAULT , 0 ) , ) ) ; }
docstring: Describes the parameters for get_forum_discussions_paginated.
  
  @deprecated since 3.7
  @return external_function_parameters
  @since Moodle 2.8
docstring_tokens: Describes the parameters for get_forum_discussions_paginated .