Purpose
To implement functionality needed by the
ViewCgiScript
Used by
One of:
TWiki Modules used
This
CGI script depends on the following TWiki modules for functionality:
External Modules used
This
CGI script also depends on the following external modules
| Note: |
Below documentation is extracted from the currently installed <module name here> Perl module by the PerlDocPlugin |
package TWiki::UI::View
UI delegate for view function
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 |
Please see
CodevDocumentationProject and
CodevDocumentationProjectDev for comments on the format of these pages.
Implementation Notes
--
MartinCleaver - 02 Oct 2004