78 lines
1.3 KiB
Plaintext
78 lines
1.3 KiB
Plaintext
|
head 1.2;
|
||
|
access;
|
||
|
symbols;
|
||
|
locks; strict;
|
||
|
comment @# @;
|
||
|
|
||
|
|
||
|
1.2
|
||
|
date 2007.01.16.04.12.02; author TWikiContributor; state Exp;
|
||
|
branches;
|
||
|
next 1.1;
|
||
|
|
||
|
1.1
|
||
|
date 2006.02.01.12.01.26; author TWikiContributor; state Exp;
|
||
|
branches;
|
||
|
next ;
|
||
|
|
||
|
|
||
|
desc
|
||
|
@new-topic
|
||
|
@
|
||
|
|
||
|
|
||
|
1.2
|
||
|
log
|
||
|
@buildrelease
|
||
|
@
|
||
|
text
|
||
|
@---+ Package =TWiki::UI::View=
|
||
|
|
||
|
UI delegate for view function
|
||
|
|
||
|
|
||
|
%TOC%
|
||
|
|
||
|
---++ StaticMethod *view* <tt>($session)</tt>
|
||
|
|
||
|
=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* <tt>($session,$web,$topic,$query)</tt>
|
||
|
|
||
|
=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 |
|
||
|
|
||
|
|
||
|
@
|
||
|
|
||
|
|
||
|
1.1
|
||
|
log
|
||
|
@buildrelease
|
||
|
@
|
||
|
text
|
||
|
@d7 3
|
||
|
a9 1
|
||
|
---++ StaticMethod *view* <tt>($session,$web,$topic,$scruptUrl,$query)</tt>
|
||
|
d18 1
|
||
|
d26 1
|
||
|
@
|