[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/includes/acp/ -> acp_attachments.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 1732 lines (57 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

acp_attachments:: (12 methods):
  main()
  get_attachment_stats()
  set_attachment_stats()
  check_stats_accuracy()
  handle_stats_resync()
  category_select()
  group_select()
  test_upload()
  perform_site_list()
  display_order()
  max_filesize()
  select_allow_deny()


Class: acp_attachments  - X-Ref


main($id, $mode)   X-Ref
No description

get_attachment_stats($limit = '')   X-Ref
Get attachment file count and size of upload directory

param: $limit string    Additional limit for WHERE clause to filter stats by.
return: array Returns array with stats: num_files and upload_dir_size

set_attachment_stats($stats)   X-Ref
Set config attachment stat values

param: $stats array    Array of config key => value pairs to set.
return: null

check_stats_accuracy()   X-Ref
Check accuracy of attachment statistics.

return: bool|string    Returns false if stats are correct or error message

handle_stats_resync()   X-Ref
Handle stats resync.

return: null

category_select($select_name, $group_id = false, $key = '')   X-Ref
Build Select for category items


group_select($select_name, $default_group = false, $key = '')   X-Ref
Extension group select


test_upload(&$error, $upload_dir, $create_directory = false)   X-Ref
Test Settings


perform_site_list()   X-Ref
Perform operations on sites for external linking


display_order($value, $key = '')   X-Ref
Write display_order config field


max_filesize($value, $key = '')   X-Ref
Adjust all three max_filesize config vars for display


select_allow_deny($value, $key = '')   X-Ref
Write secure_allow_deny config field




Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1