EMBOSS::GUI::XHTML(3pm) | User Contributed Perl Documentation | EMBOSS::GUI::XHTML(3pm) |
EMBOSS::GUI::XHTML - generate HTML for EMBOSS::GUI
Luke McCarthy <lukem@gene.pbi.nrc.ca>
Not for public consumption. Use EMBOSS::GUI instead.
EMBOSS::GUI::XHTML generates the HTML required by EMBOSS::GUI. The appearance of EMBOSS::GUI can be customized by editing or replacing the default style sheet. There is very little that cannot be accomplished in this way. If new HTML is absolutely required, simply create a new module that provides the methods described below and specify the new module in the EMBOSS::GUI constructor.
Public methods are described below:
%args is a hash of optional named arguments. The following arguments are %recognized:
@entries is either a list of applications as returned by EMBOSS::GUI::apps(), or a list of groups as returned by EMBOSS::GUI::groups().
$acd is an EMBOSS::ACD object that describes the application.
$hide_optional is a boolean value that determines whether optional parameters (also called additional parameters in the EMBOSS documenation) will appear in the input page.
$output_dir is a directory containing the output of an EMBOSS application.
$app is the name of the application.
$manual_html is the full text of the HTML application manual.
$refresh_delay is the number of seconds to wait between page reloads.
@error is the text of the error message. All elements of the list are joined into a single string, so this method has the same syntax as print, warn, die, etc.
If the user has asked to see only required fields, sections containing only optional fields will still be visible, even though the fields they contain are hidden. Fixing this requires better section handling in EMBOSS::ACD.
Copyright (c) 2004 Luke McCarthy. All rights reserved. This program is free software. You may copy or redistribute it under the same terms as Perl itself.
2024-02-25 | perl v5.38.2 |