Member Function Documentation
Recounts number of attachments for the articles row
- Parameters:
-
- Returns:
- boolean
Determines if you have permission for bulk attachment removal Returns TRUE or FALSE IT really does
- Parameters:
-
| array | Ids to check against |
- Returns:
- boolean
Determines if you can remove this attachment Returns TRUE or FALSE IT really does
- Parameters:
-
- Returns:
- boolean
Checks the attachment and checks for download / show perms
- Parameters:
-
- Returns:
- array Attachment data
Returns an array of settings: 'siu_thumb' = Allow thumbnail creation? 'siu_height' = Height of the generated thumbnail in pixels 'siu_width' = Width of the generated thumbnail in pixels 'upload_dir' = Base upload directory (must be a full path)
You can omit any of these settings and IPB will use the default settings (which are the ones entered into the ACP for post thumbnails)
- Returns:
- boolean
Returns an array of the allowed upload sizes in bytes. Return 'space_allowed' as -1 to not allow uploads. Return 'space_allowed' as 0 to allow unlimited uploads Return 'max_single_upload' as 0 to not set a limit
- Parameters:
-
| string | MD5 post key |
| id | Member ID |
- Returns:
- array [ 'space_used', 'space_left', 'space_allowed', 'max_single_upload' ]
Recounts number of attachments for the articles row
- Parameters:
-
| string | Post key |
| integer | Related ID |
| array | Arguments for query |
- Returns:
- array Returns count of items found
Check the attachment and make sure its OK to display
- Parameters:
-
| array | Array of ids |
| array | Array of relationship ids |
- Returns:
- array Attachment data
The documentation for this class was generated from the following file:
- admin/applications/members/extensions/attachments/plugin_msg.php