| [ Index ] |
PHP Cross Reference of MyBB 1.6.5 |
[Source view] [Print] [Project Stats]
MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license
| File Size: | 636 lines (18 kb) |
| Included or required: | 17 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file inc/functions_image.php |
| remove_attachment($pid, $posthash, $aid) X-Ref |
| Remove an attachment from a specific post param: int The post ID param: string The posthash if available param: int The attachment ID |
| remove_attachments($pid, $posthash="") X-Ref |
| Remove all of the attachments from a specific post param: int The post ID param: string The posthash if available |
| remove_avatars($uid, $exclude="") X-Ref |
| Remove any matching avatars for a specific user ID param: int The user ID param: string A file name to be excluded from the removal |
| upload_avatar($avatar=array() X-Ref |
| Upload a new avatar in to the file system param: srray incoming FILE array, if we have one - otherwise takes $_FILES['avatarupload'] param: string User ID this avatar is being uploaded for, if not the current user return: array Array of errors if any, otherwise filename of successful. |
| upload_attachment($attachment, $update_attachment=false) X-Ref |
| Upload an attachment in to the file system param: array Attachment data (as fed by PHPs $_FILE) param: boolean Whether or not we are updating a current attachment or inserting a new one return: array Array of attachment data if successful, otherwise array of error data |
| upload_file($file, $path, $filename="") X-Ref |
| Actually move a file to the uploads directory param: array The PHP $_FILE array for the file param: string The path to save the file in param: string The filename for the file (if blank, current is used) |
| Generated: Sun Dec 11 14:16:27 2011 | Cross-referenced by PHPXref 0.7.1 |