Home | Gifts

Package =TWiki::Attach

A singleton object of this class is used to deal with attachments to topics.

On this page:

ClassMethod new ($session)

Constructor

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.

ObjectMethod *migrateToFileAttachmentMacro ($meta,$text) -> $text

Migrate old HTML format

ObjectMethod *upgradeFrom1v0beta ($meta) -> $text

CODE_SMELL: Is this really necessary? upgradeFrom1v0beta?

Revision r2 - 2007-01-16 - 04:11:57 - TWikiContributor Edit