acp_attachments
class acp_attachments
Properties
protected driver_interface | $db | ||
protected config | $config | ||
protected language | $language | ||
protected ContainerBuilder | $phpbb_container | ||
protected template | $template | ||
protected user | $user | ||
protected filesystem_interface | $filesystem | ||
protected manager | $attachment_manager | ||
$id | |||
$u_action | |||
protected | $new_config |
Methods
No description
Get attachment file count and size of upload directory
Set config attachment stat values
Check accuracy of attachment statistics.
Handle stats resync.
Build Select for category items
Extension group select
Test Settings
Perform operations on sites for external linking
Write display_order config field
Adjust all three max_filesize config vars for display
Write secure_allow_deny config field
Details
at line 52
main($id, $mode)
No description
at line 1328
array
get_attachment_stats($limit = '')
Get attachment file count and size of upload directory
at line 1350
null
set_attachment_stats($stats)
Set config attachment stat values
at line 1364
bool|string
check_stats_accuracy()
Check accuracy of attachment statistics.
at line 1393
null
handle_stats_resync()
Handle stats resync.
at line 1417
category_select($select_name, $group_id = false, $key = '')
Build Select for category items
at line 1458
group_select($select_name, $default_group = false, $key = '')
Extension group select
at line 1503
test_upload($error, $upload_dir, $create_directory = false)
Test Settings
at line 1547
perform_site_list()
Perform operations on sites for external linking
at line 1736
display_order($value, $key = '')
Write display_order config field
at line 1746
max_filesize($value, $key = '')
Adjust all three max_filesize config vars for display
at line 1760
select_allow_deny($value, $key = '')
Write secure_allow_deny config field