Daya Bay Reactor Neutrino Experiment TWiki > TWikiUIViewDotPm Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

Package TWiki::UI::View

UI delegate for view function

On this page:

StaticMethod view ($session)

view command handler. This method is designed to be invoked via the 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 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



Revision: r3 - 2008-01-22 - 11:21:29 - TWikiContributor

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIViewDotPm.