Unofficial SMF API Documentation

Attachments

Attachments.php

integrate_attachment_upload

call_integration_hook('integrate_attachment_upload')
Called from
Attachments::processAttachments() in ./Sources/Attachments.php
Notes
Since 2.1

Subs-Attachments.php

integrate_attachment_upload

call_integration_hook('integrate_attachment_upload')
Called from
processAttachments() in ./Sources/Subs-Attachments.php
Notes
Since 2.1

integrate_createAttachment

call_integration_hook('integrate_createAttachment', array(&$attachmentOptions, &$attachmentInserts))
Type Parameter Description
array &$attachmentOptions desc
array &$attachmentInserts desc
Called from
createAttachment() in ./Sources/Subs-Attachments.php
Notes
Since 2.1

integrate_assign_attachments

call_integration_hook('integrate_assign_attachments', array(&$attachIDs, &$msgID))
Type Parameter Description
array &$attachIDs desc
array &$msgID desc
Called from
assignAttachments() in ./Sources/Subs-Attachments.php
Notes
Since 2.1

integrate_pre_parseAttachBBC

call_integration_hook('integrate_pre_parseAttachBBC', array($attachID, $msgID))
Type Parameter Description
array $attachID desc
array $msgID desc
Called from
parseAttachBBC() in ./Sources/Subs-Attachments.php
Notes
Since 2.1

integrate_post_parseAttachBBC

call_integration_hook('integrate_post_parseAttachBBC', array(&$attachContext))
Type Parameter Description
array &$attachContext desc
Called from
parseAttachBBC() in ./Sources/Subs-Attachments.php
Notes
Since 2.1

ShowAttachments.php

integrate_pre_download_request

call_integration_hook('integrate_pre_download_request')
Called from
showAttachment() in ./Sources/ShowAttachments.php
Notes
Since 2.1

integrate_download_request

call_integration_hook('integrate_download_request', array(&$attachRequest))
Type Parameter Description
array &$attachRequest desc
Called from
showAttachment() in ./Sources/ShowAttachments.php
Notes
Since 2.1

Suggest an edit to this page on GitHub