This file deals with some of the items required by the helpdesk, but are primarily supporting functions; they're not the principle functions that drive the admin attachments area.
We check to see if that is a helpdesk attachment, if it is, we remove it.
Parameter: $ignore_ids
Expected type: array
The ids to ignore.
Parameter: $min_substep
Expected type: array
The miniumn id we are looking for.
Parameter: $max_substep
Expected type: array
The max id we are looking for.
If we are deleting an attachment, check if we should handle this.
Parameter: $filesRemoved
Expected type: array
The files we removed.
Parameter: $attachments
Expected type: array
Attachments we should check to see if we can remove them.
We check to see if we need to do anything to tell SMF about our attachments.
Parameter: $listOptions
Expected type: array
The listOptions of attachments page.
Parameter: $titles
Expected type: array
All the sections we have.
Parameter: $list_title
Expected type: array
List title.
Builds a SMF list of attachments.
Parameter: $list_title
Expected type: string
Default: ''
A list title, if none is specified we default to the either a generic title.
Retrieves the total number of attachments.
Parameter: $start
Expected type: int
The starting position in the query.
Parameter: $items_per_page
Expected type: int
The number of attachments per page to show.
Parameter: $sort
Expected type: string
A valid sort action as determined by our main function
Parameter: $browse_type
Expected type: string
shd_thumb if a thumbnail otherwise shd_attach.
Retrieves the total number of attachments.
Parameter: $browse_type
Expected type: string
shd_thumb if a thumbnail otherwise shd_attach.
Page created in 0.016 seconds with 11 queries.