public static function data_for_messagearea_search_users_returns() {
        return new external_single_structure(
            array(
                'contacts' => new external_multiple_structure(
                    self::get_messagearea_contact_structure()
                ),
                'courses' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'id' => new external_value(PARAM_INT, 'The course id'),
                            'shortname' => new external_value(PARAM_TEXT, 'The course shortname'),
                            'fullname' => new external_value(PARAM_TEXT, 'The course fullname'),
                        )
                    )
                ),
                'noncontacts' => new external_multiple_structure(
                    self::get_messagearea_contact_structure()
                )
            )
        );
    }
public static function data_for_messagearea_search_users_returns() {
        return new external_single_structure(
            array(
                'contacts' => new external_multiple_structure(
                    self::get_messagearea_contact_structure()
                ),
                'courses' => new external_multiple_structure(
                    new external_single_structure(
                        array(
                            'id' => new external_value(PARAM_INT, 'The course id'),
                            'shortname' => new external_value(PARAM_TEXT, 'The course shortname'),
                            'fullname' => new external_value(PARAM_TEXT, 'The course fullname'),
                        )
                    )
                ),
                'noncontacts' => new external_multiple_structure(
                    self::get_messagearea_contact_structure()
                )
            )
        );
    }
public static function data_for_messagearea_search_users_returns ( ) { return new external_single_structure ( array ( 'contacts' => new external_multiple_structure ( self :: get_messagearea_contact_structure ( ) ) , 'courses' => new external_multiple_structure ( new external_single_structure ( array ( 'id' => new external_value ( PARAM_INT , 'The course id' ) , 'shortname' => new external_value ( PARAM_TEXT , 'The course shortname' ) , 'fullname' => new external_value ( PARAM_TEXT , 'The course fullname' ) , ) ) ) , 'noncontacts' => new external_multiple_structure ( self :: get_messagearea_contact_structure ( ) ) ) ) ; }
Get messagearea search users returns.

@deprecated since 3.6

@return external_single_structure
@since 3.2
Get messagearea search users returns .