.TH "Eliom_parameter" 3o 2012-06-11 OCamldoc "" .SH NAME Eliom_parameter \- See documentation in the server side version: {% <> %}. .SH Module Module Eliom_parameter .SH Documentation .sp Module .BI "Eliom_parameter" : .B sig end .sp See documentation in the server side version: \&. .sp .sp .sp .sp .I type .B ('a, +'b, +'c) .I params_type .sp .sp .I type .B 'a .I param_name .sp .sp .I type no_param_name .sp .sp .I type .B 'a .I setoneradio = .B [ `One of 'a | `Radio of 'a | `Set of 'a ] .sp .sp .I type .B 'a .I oneradio = .B [ `One of 'a | `Radio of 'a ] .sp .sp .I type .B 'a .I setone = .B [ `One of 'a | `Set of 'a ] .sp .sp .I type .B ('a, 'b) .I binsum = | Inj1 .B of .B 'a | Inj2 .B of .B 'b .sp .sp .I type .B 'a .I listnames = { it : .B 'b 'c. ('a -> 'b -> 'c -> 'c) -> 'b list -> 'c -> 'c ; } .sp .sp .I val int : .B string -> .B (int, [ `WithoutSuffix ], [ `One of int ] param_name) .B params_type .sp .sp .I val int32 : .B string -> .B (int32, [ `WithoutSuffix ], [ `One of int32 ] param_name) .B params_type .sp .sp .I val int64 : .B string -> .B (int64, [ `WithoutSuffix ], [ `One of int64 ] param_name) .B params_type .sp .sp .I val float : .B string -> .B (float, [ `WithoutSuffix ], [ `One of float ] param_name) .B params_type .sp .sp .I val string : .B string -> .B (string, [ `WithoutSuffix ], [ `One of string ] param_name) .B params_type .sp .sp .I val bool : .B string -> .B (bool, [ `WithoutSuffix ], [ `One of bool ] param_name) .B params_type .sp .sp .I val file : .B string -> .B (Eliom_lib.file_info, [ `WithoutSuffix ], .B [ `One of Eliom_lib.file_info ] param_name) .B params_type .sp .sp .I val unit : .B (unit, [ `WithoutSuffix ], unit) params_type .sp .sp .I val user_type : .B of_string:(string -> 'a) -> .B to_string:('a -> string) -> .B string -> .B ('a, [ `WithoutSuffix ], [ `One of 'a ] param_name) .B params_type .sp .sp .I type coordinates = { abscissa : .B int ; ordinate : .B int ; } .sp .sp .I val coordinates : .B string -> .B (coordinates, [ `WithoutSuffix ], .B [ `One of coordinates ] param_name) .B params_type .sp .sp .I val string_coordinates : .B string -> .B (string * coordinates, [ `WithoutSuffix ], .B [ `One of string * coordinates ] param_name) .B params_type .sp .sp .I val int_coordinates : .B string -> .B (int * coordinates, [ `WithoutSuffix ], .B [ `One of int * coordinates ] param_name) .B params_type .sp .sp .I val int32_coordinates : .B string -> .B (int32 * coordinates, [ `WithoutSuffix ], .B [ `One of int32 * coordinates ] param_name) .B params_type .sp .sp .I val int64_coordinates : .B string -> .B (int64 * coordinates, [ `WithoutSuffix ], .B [ `One of int64 * coordinates ] param_name) .B params_type .sp .sp .I val float_coordinates : .B string -> .B (float * coordinates, [ `WithoutSuffix ], .B [ `One of float * coordinates ] param_name) .B params_type .sp .sp .I val user_type_coordinates : .B of_string:(string -> 'a) -> .B to_string:('a -> string) -> .B string -> .B ('a * coordinates, [ `WithoutSuffix ], .B [ `One of 'a * coordinates ] param_name) .B params_type .sp .sp .I val ( ** ) : .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('c, [< `Endsuffix | `WithoutSuffix ] as 'd, 'e) params_type -> .B ('a * 'c, 'd, 'b * 'e) params_type .sp .sp .I val prod : .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('c, [< `Endsuffix | `WithoutSuffix ] as 'd, 'e) params_type -> .B ('a * 'c, 'd, 'b * 'e) params_type .sp .sp .I val sum : .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('c, [ `WithoutSuffix ], 'd) params_type -> .B (('a, 'c) binsum, [ `WithoutSuffix ], 'b * 'd) .B params_type .sp .sp .I val opt : .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('a option, [ `WithoutSuffix ], 'b) params_type .sp .sp .I val radio : .B (string -> .B ('a, [ `WithoutSuffix ], [ `One of 'b ] param_name) .B params_type) -> .B string -> .B ('a option, [ `WithoutSuffix ], [ `Radio of 'b ] param_name) .B params_type .sp .sp .I val any : .B ((string * string) list, [ `WithoutSuffix ], unit) .B params_type .sp .sp .I val set : .B (string -> .B ('a, [ `WithoutSuffix ], [ `One of 'b ] param_name) .B params_type) -> .B string -> .B ('a list, [ `WithoutSuffix ], [ `Set of 'b ] param_name) .B params_type .sp .sp .I val list : .B string -> .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('a list, [ `WithoutSuffix ], 'b listnames) .B params_type .sp .sp .I val suffix : .B ?redirect_if_not_suffix:bool -> .B ('a, [< `Endsuffix | `WithoutSuffix ], 'b) params_type -> .B ('a, [ `WithSuffix ], 'b) params_type .sp .sp .I val all_suffix : .B string -> .B (string list, [ `Endsuffix ], .B [ `One of string list ] param_name) .B params_type .sp .sp .I val all_suffix_string : .B string -> .B (string, [ `Endsuffix ], [ `One of string ] param_name) .B params_type .sp .sp .I val all_suffix_user : .B of_string:(string -> 'a) -> .B to_string:('a -> string) -> .B string -> .B ('a, [ `Endsuffix ], [ `One of 'a ] param_name) .B params_type .sp .sp .I val suffix_prod : .B ?redirect_if_not_suffix:bool -> .B ('a, [< `Endsuffix | `WithoutSuffix ], 'b) params_type -> .B ('c, [ `WithoutSuffix ], 'd) params_type -> .B ('a * 'c, [ `WithSuffix ], 'b * 'd) params_type .sp .sp .I val suffix_const : .B string -> .B (unit, [ `WithoutSuffix ], [ `One of unit ] param_name) .B params_type .sp .sp .I type .B 'a .I caml .sp .sp .I val caml : .B string -> .B 'a Deriving_Json.t -> .B ('a, [ `WithoutSuffix ], .B [ `One of 'a caml ] param_name) .B params_type .sp .sp .I val raw_post_data : .B (((string * string) * (string * string) list) option * .B string Ocsigen_stream.t option, [ `WithoutSuffix ], .B no_param_name) .B params_type .sp .sp .I val guard : .B (string -> .B ('a, 'b, [ `One of string ] param_name) .B params_type) -> .B string -> .B ('a -> bool) -> .B ('a, 'b, [ `One of string ] param_name) .B params_type .sp .sp .I type .B ('a, +'b, +'c) .I non_localized_params .sp .sp .I val make_non_localized_parameters : .B prefix:string -> .B name:string -> .B ?persistent:bool -> .B ('a, [ `WithoutSuffix ], 'b) params_type -> .B ('a, [ `WithoutSuffix ], 'b) non_localized_params .sp .sp .I type nl_params_set .sp .sp .I val empty_nl_params_set : .B nl_params_set .sp .sp .I val add_nl_parameter : .B nl_params_set -> .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) .B non_localized_params -> 'a -> nl_params_set .sp .sp .I val get_nl_params_names : .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) .B non_localized_params -> 'b .sp .sp .I val get_to_and_from : .B ('a, 'b, 'c) params_type -> (string -> 'a) * ('a -> string) .sp .sp .I val walk_parameter_tree : .B [ `One of string ] param_name -> .B ('a, 'b, 'c) params_type -> .B ((string -> 'd) * ('d -> string)) option .sp .sp .I val contains_suffix : .B ('a, 'b, 'c) params_type -> bool option .sp .sp .I val add_pref_params : .B string -> .B ('a, 'b, 'c) params_type -> .B ('a, 'b, 'c) params_type .sp .sp .I val construct_params : .B (string * string) list Eliom_lib.String.Table.t -> .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) params_type -> .B 'a -> string list option * string .sp .sp .I val construct_params_string : .B (string * string) list -> string .sp .sp .I val construct_params_list_raw : .B (string * string) list Eliom_lib.String.Table.t -> .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) params_type -> .B 'a -> .B string list option * (string * string) list Eliom_lib.String.Table.t * .B (string * string) list .sp .sp .I val construct_params_list : .B (string * string) list Eliom_lib.String.Table.t -> .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) params_type -> .B 'a -> string list option * (string * string) list .sp .sp .I val make_params_names : .B ('a, 'b, 'c) params_type -> bool * 'c .sp .sp .I val string_of_param_name : .B 'a param_name -> string .sp .sp .I val nl_prod : .B ('a, 'b, 'c) params_type -> .B ('d, [ `WithoutSuffix ], 'e) non_localized_params -> .B ('a * 'd, 'b, 'c * 'e) params_type .sp .sp .I val remove_from_nlp : .B (string * string) list Eliom_lib.String.Table.t -> .B ('a, [< `WithSuffix | `WithoutSuffix ], 'b) params_type -> .B (string * string) list Eliom_lib.String.Table.t .sp .sp .I val table_of_nl_params_set : .B nl_params_set -> .B (string * string) list Eliom_lib.String.Table.t .sp .sp .I val list_of_nl_params_set : .B nl_params_set -> (string * string) list .sp .sp .I val string_of_nl_params_set : .B nl_params_set -> string .sp .sp .I val wrap_param_type : .B ('a, 'b, 'c) params_type -> .B ('a, 'b, 'c) params_type .sp .sp