You are here: Reef Watch > TWiki Web > TWikiUIViewDotPm

Package TWiki::UI::View

UI delegate for view function

StaticMethod view ($session)

view command handler. This method is designed to be invoked via the TWiki::UI::run method.

Generate a complete HTML page that represents the viewed topics. The view is controlled by CGI parameters as follows:

rev topic revision to view
section restrict view to a named section
raw no format body text if set
skin comma-separated list of skin(s) to use
contenttype Allows you to specify an alternate content type

StaticMethod viewfile ($session,$web,$topic,$query)

viewfile command handler. This method is designed to be invoked via the TWiki::UI::run method. Command handler for viewfile. View a file in the browser. Some parameters are passed in CGI query:

filename Attachment to view
rev Revision to view

r2 - 16 Jan 2007 - 13:12:02 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright © 1997 - 2012 Reef Watch and contributing authors. All material on this site is the property of Reef Watch and its contributing authors.
Reef Watch is a project of the Conservation Council of South Australia inc. Ideas, requests, problems regarding Reef Watch? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIViewDotPm