public static function get_pages_returns() {
        return new external_single_structure(
            array(
                'pages' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'page' => self::get_page_structure(),
                            'answerids' => new external_multiple_structure(
                                new external_value(PARAM_INT, 'Answer id'), 'List of answers ids (empty for content pages in  Moodle 1.9)'
                            ),
                            'jumps' => new external_multiple_structure(
                                new external_value(PARAM_INT, 'Page to jump id'), 'List of possible page jumps'
                            ),
                            'filescount' => new external_value(PARAM_INT, 'The total number of files attached to the page'),
                            'filessizetotal' => new external_value(PARAM_INT, 'The total size of the files'),
                        ),
                        'The lesson pages'
                    )
                ),
                'warnings' => new external_warnings(),
            )
        );
    }
public static function get_pages_returns() {
        return new external_single_structure(
            array(
                'pages' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'page' => self::get_page_structure(),
                            'answerids' => new external_multiple_structure(
                                new external_value(PARAM_INT, 'Answer id'), 'List of answers ids (empty for content pages in  Moodle 1.9)'
                            ),
                            'jumps' => new external_multiple_structure(
                                new external_value(PARAM_INT, 'Page to jump id'), 'List of possible page jumps'
                            ),
                            'filescount' => new external_value(PARAM_INT, 'The total number of files attached to the page'),
                            'filessizetotal' => new external_value(PARAM_INT, 'The total size of the files'),
                        ),
                        'The lesson pages'
                    )
                ),
                'warnings' => new external_warnings(),
            )
        );
    }
public static function get_pages_returns ( ) { return new external_single_structure ( array ( 'pages' => new external_multiple_structure ( new external_single_structure ( array ( 'page' => self :: get_page_structure ( ) , 'answerids' => new external_multiple_structure ( new external_value ( PARAM_INT , 'Answer id' ) , 'List of answers ids (empty for content pages in  Moodle 1.9)' ) , 'jumps' => new external_multiple_structure ( new external_value ( PARAM_INT , 'Page to jump id' ) , 'List of possible page jumps' ) , 'filescount' => new external_value ( PARAM_INT , 'The total number of files attached to the page' ) , 'filessizetotal' => new external_value ( PARAM_INT , 'The total size of the files' ) , ) , 'The lesson pages' ) ) , 'warnings' => new external_warnings ( ) , ) ) ; }
Describes the get_pages return value.

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