Tags:
create new tag
view all tags

Module name TWiki::UI::View.pm ViewDotPm
Location TWIKIROOT/lib/TWiki/UI/View.pm
Summary Implements functionality for view
Primary Author Main.
CVS history SVN:lib/TWiki/UI/View.pm
CVS alpha SVNget:lib/TWiki/UI/View.pm
Contributing authors (see CVS History)
Is Class Yes
First Release CrawfordCurrie
File Hierarchy
  TWIKIROOT
  lib
  TWiki
  UI
  View.pm

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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-05-04 - SamHasler
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.