Line: 7 to 7 | ||||||||
---|---|---|---|---|---|---|---|---|
ClassMethod new ($session) | ||||||||
Changed: | ||||||||
< < | Constructor | |||||||
> > | Constructor.
ObjectMethod finish ()Break circular references. | |||||||
Line: 42 to 47 | ||||||||
Build a link to the attachment, suitable for insertion in the topic. | ||||||||
Deleted: | ||||||||
< < |
ObjectMethod *migrateToFileAttachmentMacro ($meta,$text) -> $textMigrate old HTML formatObjectMethod *upgradeFrom1v0beta ($meta) -> $textCODE_SMELL: Is this really necessary? upgradeFrom1v0beta? |
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? |