See 
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or 
browse all packages.
See also 
Developing plugins, 
Developer's Bible, 
Technical Overview
  internal package Foswiki::UI::Viewfile  
UI delegate for viewfile function
 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 |