Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://wiki.cs.msu.ru/System/PerlDoc?cover=print;module=Foswiki::Attach
Дата изменения: Unknown Дата индексирования: Mon Apr 11 22:53:01 2016 Кодировка: |
internal package
Foswiki::Attach internal package
Foswiki::Attach A singleton object of this class is used to deal with attachments to topics.
ClassMethod
new($session) Constructor.
ObjectMethod
finish() ObjectMethod
renderMetaData( $topicObject, $args ) → $text $topicObject
the topic
$args
hash of attachment arguments
ObjectMethod
formatVersions ( $topicObject, $attrs ) → $text $topicObject
- the topic
$attrs
- Hash of meta-data attributes
ObjectMethod
getAttachmentLink( $topicObject, $name ) → $html $topicObject
- The topic
$name
- Name of the attachment
Build a link to the attachment, suitable for insertion in the topic.