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
SMELL / FIX / TODO count: 5
internal package Foswiki::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 |
release_lock |
Set to non-blank to release any edit locks held by the current user. |
# SMELL: This is also used in Foswiki::_TOC. Could insert a tag in
SMELL if multi-value is allowed here, this isn't correct,
SMELL: %QUERYPARAMSTRING% isn't a documented macro, and is
SMELL: unchecked implicit untaint of data that may be coming from
StaticMethod revisionsAround($session, $topicObject, $rev) → $output
Calculate the revisions spanning the current one for display in the bottom
bar.