Package TWiki::Attach
A singleton object of this class is used to deal with attachments to topics.
On this page:
Class Method new ($session)
Constructor.Object Method finish ()
Break circular references.Object Method 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.-
$webthe web -
$topicthe topic -
$metameta-data hash for the topic -
$argshash of attachment arguments
Object Method formatVersions ($web,$topic,$attrs) -> $text
Generate a version history table for a single attachment-
$web- the web -
$topic- the topic -
$attrs- Hash of meta-data attributes
Object Method getAttachmentLink ($user,$web,$topic,$name,$meta) -> $html
-
$user- User doing the reading -
$web- Name of the web -
$topic- Name of the topic -
$name- Name of the attachment -
$meta- Meta object that contains the meta info
| Topic TWikiAttachDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r3 < r2 < r1 More } |