![]() [UP] Wd_types
|
WDialog API for Objective Caml: Wd_types.application_type
Class type Wd_types.application_typeclass type application_type =
This class represents the whole application
method start_dialog_name :
Returns the name of the start dialog
method dialog_names :
Returns the names of the declared dialogs
method dialog_declaration :
Returns the declaration for the passed dialog
method template_names :
Returns the names of the declared templates (including the templates of
the core and the standard libraries)
method template :
Returns the definition of the passed template
method study :
Studies all defined templates
method output_encoding :
Returns the output encoding as function
string -> string method add_output_encoding :
Adds the output encoding function (second argument) under the
passed name (first argument) to the application. It is not
possible to redefine existing functions.
method var_function :
Returns the variable function as O'Caml function
method dtd :
Returns the DTD of WDialog
method charset :
Returns the character set used for the internal representation, and for
the generated HTML pages.
method debug_mode :
Returns whether there is a processing instruction
<?wd-debug-mode?> .
This value is used to initialize the environment.method debug_mode_style :
Returns the style of the debug mode
method prototype_mode :
Returns whether there is a processing instruction
<?wd-prototype-mode?> .
This value is used to initialize the environment.method onstartup_call_handle :
Returns whether there is a processing instruction
<?wd-onstartup-call-handle?> . |