Module Forum_sql

module Forum_sql : sig..end

Author(s): Piero Furiesi, Jaap Boender, Vincent Balat, Boris Yakobowski


val new_forum : 
  title:string ->
  descr:string ->
  ?arborescent:bool ->
  title_syntax:'res Wiki_types.content_type ->
  messages_wiki:Wiki_types.wiki ->
  comments_wiki:Wiki_types.wiki -> unit -> Forum_types.forum Lwt.t

create a new forum. ?arborescent is true by default. Setting it to false will prevent to comment comments.

val update_forum : 
  ?title:string ->
  ?descr:string ->
  ?arborescent:bool ->
  ?title_syntax:'res Wiki_types.content_type ->
  ?messages_wiki:Wiki_types.wiki ->
  ?comments_wiki:Wiki_types.wiki -> Forum_types.forum -> unit Lwt.t

Update the information of a forum. All arguments not passed are left unchanged

val new_message : 
  forum:Forum_types.forum