internal package Foswiki::Attach
On this page:
internal package Foswiki::Attach
A singleton object of this class is used to deal with attachments to topics.
ClassMethod new($session)
Constructor.
ObjectMethod finish()
Break circular references.
ObjectMethod renderMetaData( $topicObject, $args ) → $text
Generate a table of attachments suitable for the bottom of a topic
view, using templates for the header, footer and each row. -
$topicObjectthe topic -
$argshash of attachment arguments
ObjectMethod formatVersions ( $topicObject, $attrs ) → $text
Generate a version history table for a single attachment -
$topicObject- the topic -
$attrs- Hash of meta-data attributes
ObjectMethod getAttachmentLink( $topicObject, $name ) → $html
-
$topicObject- The topic -
$name- Name of the attachment
History: r1 - 19 Apr 2011 - 03:38:03 - ProjectContributor