public static function get_grades_table_returns() {
        return new external_single_structure(
            array(
                'tables' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'courseid' => new external_value(PARAM_INT, 'course id'),
                            'userid'   => new external_value(PARAM_INT, 'user id'),
                            'userfullname' => new external_value(PARAM_TEXT, 'user fullname'),
                            'maxdepth'   => new external_value(PARAM_INT, 'table max depth (needed for printing it)'),
                            'tabledata' => new external_multiple_structure(
                                new external_single_structure(
                                    array(
                                        'itemname' => new external_single_structure(
                                            array (
                                                'class' => new external_value(PARAM_RAW, 'class'),
                                                'colspan' => new external_value(PARAM_INT, 'col span'),
                                                'content'  => new external_value(PARAM_RAW, 'cell content'),
                                                'celltype'  => new external_value(PARAM_RAW, 'cell type'),
                                                'id'  => new external_value(PARAM_ALPHANUMEXT, 'id')
                                            ), 'The item returned data', VALUE_OPTIONAL
                                        ),
                                        'leader' => new external_single_structure(
                                            array (
                                                'class' => new external_value(PARAM_RAW, 'class'),
                                                'rowspan' => new external_value(PARAM_INT, 'row span')
                                            ), 'The item returned data', VALUE_OPTIONAL
                                        ),
                                        'weight' => new external_single_structure(
                                            self::grades_table_column(), 'weight column', VALUE_OPTIONAL
                                        ),
                                        'grade' => new external_single_structure(
                                            self::grades_table_column(), 'grade column', VALUE_OPTIONAL
                                        ),
                                        'range' => new external_single_structure(
                                            self::grades_table_column(), 'range column', VALUE_OPTIONAL
                                        ),
                                        'percentage' => new external_single_structure(
                                            self::grades_table_column(), 'percentage column', VALUE_OPTIONAL
                                        ),
                                        'lettergrade' => new external_single_structure(
                                            self::grades_table_column(), 'lettergrade column', VALUE_OPTIONAL
                                        ),
                                        'rank' => new external_single_structure(
                                            self::grades_table_column(), 'rank column', VALUE_OPTIONAL
                                        ),
                                        'average' => new external_single_structure(
                                            self::grades_table_column(), 'average column', VALUE_OPTIONAL
                                        ),
                                        'feedback' => new external_single_structure(
                                            self::grades_table_column(), 'feedback column', VALUE_OPTIONAL
                                        ),
                                        'contributiontocoursetotal' => new external_single_structure(
                                            self::grades_table_column(), 'contributiontocoursetotal column', VALUE_OPTIONAL
                                        ),
                                    ), 'table'
                                )
                            )
                        )
                    )
                ),
                'warnings' => new external_warnings()
            )
        );
    }
public static function get_grades_table_returns() {
        return new external_single_structure(
            array(
                'tables' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'courseid' => new external_value(PARAM_INT, 'course id'),
                            'userid'   => new external_value(PARAM_INT, 'user id'),
                            'userfullname' => new external_value(PARAM_TEXT, 'user fullname'),
                            'maxdepth'   => new external_value(PARAM_INT, 'table max depth (needed for printing it)'),
                            'tabledata' => new external_multiple_structure(
                                new external_single_structure(
                                    array(
                                        'itemname' => new external_single_structure(
                                            array (
                                                'class' => new external_value(PARAM_RAW, 'class'),
                                                'colspan' => new external_value(PARAM_INT, 'col span'),
                                                'content'  => new external_value(PARAM_RAW, 'cell content'),
                                                'celltype'  => new external_value(PARAM_RAW, 'cell type'),
                                                'id'  => new external_value(PARAM_ALPHANUMEXT, 'id')
                                            ), 'The item returned data', VALUE_OPTIONAL
                                        ),
                                        'leader' => new external_single_structure(
                                            array (
                                                'class' => new external_value(PARAM_RAW, 'class'),
                                                'rowspan' => new external_value(PARAM_INT, 'row span')
                                            ), 'The item returned data', VALUE_OPTIONAL
                                        ),
                                        'weight' => new external_single_structure(
                                            self::grades_table_column(), 'weight column', VALUE_OPTIONAL
                                        ),
                                        'grade' => new external_single_structure(
                                            self::grades_table_column(), 'grade column', VALUE_OPTIONAL
                                        ),
                                        'range' => new external_single_structure(
                                            self::grades_table_column(), 'range column', VALUE_OPTIONAL
                                        ),
                                        'percentage' => new external_single_structure(
                                            self::grades_table_column(), 'percentage column', VALUE_OPTIONAL
                                        ),
                                        'lettergrade' => new external_single_structure(
                                            self::grades_table_column(), 'lettergrade column', VALUE_OPTIONAL
                                        ),
                                        'rank' => new external_single_structure(
                                            self::grades_table_column(), 'rank column', VALUE_OPTIONAL
                                        ),
                                        'average' => new external_single_structure(
                                            self::grades_table_column(), 'average column', VALUE_OPTIONAL
                                        ),
                                        'feedback' => new external_single_structure(
                                            self::grades_table_column(), 'feedback column', VALUE_OPTIONAL
                                        ),
                                        'contributiontocoursetotal' => new external_single_structure(
                                            self::grades_table_column(), 'contributiontocoursetotal column', VALUE_OPTIONAL
                                        ),
                                    ), 'table'
                                )
                            )
                        )
                    )
                ),
                'warnings' => new external_warnings()
            )
        );
    }
public static function get_grades_table_returns ( ) { return new external_single_structure ( array ( 'tables' => new external_multiple_structure ( new external_single_structure ( array ( 'courseid' => new external_value ( PARAM_INT , 'course id' ) , 'userid' => new external_value ( PARAM_INT , 'user id' ) , 'userfullname' => new external_value ( PARAM_TEXT , 'user fullname' ) , 'maxdepth' => new external_value ( PARAM_INT , 'table max depth (needed for printing it)' ) , 'tabledata' => new external_multiple_structure ( new external_single_structure ( array ( 'itemname' => new external_single_structure ( array ( 'class' => new external_value ( PARAM_RAW , 'class' ) , 'colspan' => new external_value ( PARAM_INT , 'col span' ) , 'content' => new external_value ( PARAM_RAW , 'cell content' ) , 'celltype' => new external_value ( PARAM_RAW , 'cell type' ) , 'id' => new external_value ( PARAM_ALPHANUMEXT , 'id' ) ) , 'The item returned data' , VALUE_OPTIONAL ) , 'leader' => new external_single_structure ( array ( 'class' => new external_value ( PARAM_RAW , 'class' ) , 'rowspan' => new external_value ( PARAM_INT , 'row span' ) ) , 'The item returned data' , VALUE_OPTIONAL ) , 'weight' => new external_single_structure ( self :: grades_table_column ( ) , 'weight column' , VALUE_OPTIONAL ) , 'grade' => new external_single_structure ( self :: grades_table_column ( ) , 'grade column' , VALUE_OPTIONAL ) , 'range' => new external_single_structure ( self :: grades_table_column ( ) , 'range column' , VALUE_OPTIONAL ) , 'percentage' => new external_single_structure ( self :: grades_table_column ( ) , 'percentage column' , VALUE_OPTIONAL ) , 'lettergrade' => new external_single_structure ( self :: grades_table_column ( ) , 'lettergrade column' , VALUE_OPTIONAL ) , 'rank' => new external_single_structure ( self :: grades_table_column ( ) , 'rank column' , VALUE_OPTIONAL ) , 'average' => new external_single_structure ( self :: grades_table_column ( ) , 'average column' , VALUE_OPTIONAL ) , 'feedback' => new external_single_structure ( self :: grades_table_column ( ) , 'feedback column' , VALUE_OPTIONAL ) , 'contributiontocoursetotal' => new external_single_structure ( self :: grades_table_column ( ) , 'contributiontocoursetotal column' , VALUE_OPTIONAL ) , ) , 'table' ) ) ) ) ) , 'warnings' => new external_warnings ( ) ) ) ; }
Describes tget_grades_table return value.

@return external_single_structure
@since Moodle 2.9
Describes tget_grades_table return value .