phpBB API Documentation
Class

acp_attachments

class acp_attachments

Properties

$u_action
$new_config

Methods

main($id, $mode)

category_select($select_name, $group_id = false, $key = '')

Build Select for category items

group_select($select_name, $default_group = false, $key = '')

Extension group select

search_imagemagick()

Search Imagick

test_upload($error, $upload_dir, $create_directory = false)

Test Settings

perform_site_list()

Perform operations on sites for external linking

display_order($value, $key = '')

Write display_order config field

max_filesize($value, $key = '')

Adjust all three max_filesize config vars for display

select_allow_deny($value, $key = '')

Write secureallowdeny config field

Details

at line 27
public main($id, $mode)

Parameters

$id
$mode

at line 1068
public category_select($select_name, $group_id = false, $key = '')

Build Select for category items

Parameters

$select_name
$group_id
$key

at line 1113
public group_select($select_name, $default_group = false, $key = '')

Extension group select

Parameters

$select_name
$default_group
$key

at line 1158
public search_imagemagick()

Search Imagick

at line 1199
public test_upload($error, $upload_dir, $create_directory = false)

Test Settings

Parameters

$error
$upload_dir
$create_directory

at line 1235
public perform_site_list()

Perform operations on sites for external linking

at line 1427
public display_order($value, $key = '')

Write display_order config field

Parameters

$value
$key

at line 1437
public max_filesize($value, $key = '')

Adjust all three max_filesize config vars for display

Parameters

$value
$key

at line 1450
public select_allow_deny($value, $key = '')

Write secureallowdeny config field

Parameters

$value
$key