The Caboteria / TWiki Web / TWikiAttachDotPm (21 Jan 2008, TWikiContributor)

Package TWiki::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 ($web,$topic,$meta,$args) -> $text

Generate a table of attachments suitable for the bottom of a topic view, using templates for the header, footer and each row.

ObjectMethod formatVersions ($web,$topic,$attrs) -> $text

Generate a version history table for a single attachment

ObjectMethod getAttachmentLink ($user,$web,$topic,$name,$meta) -> $html

Build a link to the attachment, suitable for insertion in the topic.

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiAttachDotPm.