Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Package =TWiki::AttachA singleton object of this class is used to deal with attachments to topics.On this page:
ClassMethod new ($session)ConstructorObjectMethod renderMetaData ($web,$topic,$meta,$args) -> $textGenerate 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) -> $textGenerate a version history table for a single attachment
ObjectMethod *getAttachmentLink ($user,$web,$topic,$name,$meta) -> $html
ObjectMethod *migrateToFileAttachmentMacro ($meta,$text) -> $textMigrate old HTML formatObjectMethod *upgradeFrom1v0beta ($meta) -> $textCODE_SMELL: Is this really necessary? upgradeFrom1v0beta? |