beforeAttachmentSaveHandler(\%attrHash, $topic, $web )

  • \%attrHash - reference to hash of attachment attribute values
  • $topic - the name of the topic in the current CGI query
  • $web - the name of the web in the current CGI query
This handler is called once when an attachment is uploaded. When this handler is called, the attachment has not been recorded in the database.

The attributes hash will include at least the following attributes:

  • attachment => the attachment name
  • comment - the comment
  • user - the user's TWiki user object
  • tmpFilename - name of a temporary file containing the attachment data

Since: TWiki::Plugins::VERSION = '1.023'

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt SaveAttachmentHandlers_diff.txt r2 r1 manage 6.4 K 2004年04月11日 - 14:53 UnknownUser
Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r26 - 2006年06月16日 - MeredithLesly
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /