class acp_board

Properties

$u_action
$new_config
protected config $config
protected language $language
protected user $user

Methods

main($id, $mode)

No description

select_auth_method($selected_method, $key = '')

Select auth method

mail_auth_select($selected_method, $key = '')

Select mail authentication method

full_folder_select($value, $key = '')

Select full folder action

select_acc_activation($selected_value, $value)

Select account activation method

username_length($value, $key = '')

Maximum/Minimum username length

select_username_chars($selected_value, $key)

Allowed chars in usernames

password_length($value, $key)

Minimum password length

select_password_chars($selected_value, $key)

Required chars in passwords

array
bump_interval($value, $key)

Select bump interval

array
language_select(string $default = '', array $langdata = [])

Wrapper function for phpbb_language_select()

array
phpbb_style_select(int|string $default, bool $all)

Wrapper function for style_select()

board_disable($value, $key)

Board disable option and message

array
board_disable_access(int $value)

Board disable access for which group: admins: 0; plus global moderators: 1 and plus all moderators: 2

quick_reply($value, $key)

Global quick reply enable/disable setting and button to enable in all forums

timezone_select($value, $key)

Select guest timezone

guest_style_get()

Get guest style

guest_style_set(int $style_id)

Set guest style

array
dateformat_select(string $value, string $key)

Create select for default date format

array
select_news_forums(mixed $value, string $key)

Select for multiple forums

array
select_exclude_forums(mixed $value, string $key)

Select for multiple forums to exclude

array
get_forum_select(string $key, int $forum_option = FORUM_OPTION_FEED_NEWS)

Get forum select data for specified key and option

store_feed_forums($option, $key)

No description

string
enable_mod_rewrite(int $value, string $key)

Option to enable/disable removal of 'app.php' from URLs

send_test_email($value, $key)

No description

array
webpush_enable(string $value, string $key)

Generate form data for web push enable

Details

at line 46
main($id, $mode)

No description

Parameters

$id
$mode

at line 850
select_auth_method($selected_method, $key = '')

Select auth method

Parameters

$selected_method
$key

at line 890
mail_auth_select($selected_method, $key = '')

Select mail authentication method

Parameters

$selected_method
$key

at line 914
full_folder_select($value, $key = '')

Select full folder action

Parameters

$value
$key

at line 939
select_acc_activation($selected_value, $value)

Select account activation method

Parameters

$selected_value
$value

at line 970
username_length($value, $key = '')

Maximum/Minimum username length

Parameters

$value
$key

at line 1000
select_username_chars($selected_value, $key)

Allowed chars in usernames

Parameters

$selected_value
$key

at line 1023
password_length($value, $key)

Minimum password length

Parameters

$value
$key

at line 1042
select_password_chars($selected_value, $key)

Required chars in passwords

Parameters

$selected_value
$key

at line 1066
array bump_interval($value, $key)

Select bump interval

Parameters

$value
$key

Return Value

array

at line 1105
array language_select(string $default = '', array $langdata = [])

Wrapper function for phpbb_language_select()

Parameters

string $default
array $langdata

Return Value

array

at line 1120
array phpbb_style_select(int|string $default, bool $all)

Wrapper function for style_select()

Parameters

int|string $default

Style ID to be selected in the dropdown list

bool $all

Flag indicating if all styles data including inactive should be fetched

Return Value

array

at line 1130
board_disable($value, $key)

Board disable option and message

Parameters

$value
$key

at line 1155
array board_disable_access(int $value)

Board disable access for which group: admins: 0; plus global moderators: 1 and plus all moderators: 2

Parameters

int $value

Value from config

Return Value

array

Options array for select

at line 1179
quick_reply($value, $key)

Global quick reply enable/disable setting and button to enable in all forums

Parameters

$value
$key

at line 1201
timezone_select($value, $key)

Select guest timezone

Parameters

$value
$key

at line 1215
guest_style_get()

Get guest style

at line 1235
guest_style_set(int $style_id)

Set guest style

Parameters

int $style_id

The style ID

at line 1253
array dateformat_select(string $value, string $key)

Create select for default date format

Parameters

string $value

Current date format value

string $key

Date format key

Return Value

array

Date format select data

at line 1323
array select_news_forums(mixed $value, string $key)

Select for multiple forums

Parameters

mixed $value

Config value, unused

string $key

Config key

Return Value

array

Forum select data

at line 1336
array select_exclude_forums(mixed $value, string $key)

Select for multiple forums to exclude

Parameters

mixed $value

Config value, unused

string $key

Config key

Return Value

array

Forum select data

at line 1349
protected array get_forum_select(string $key, int $forum_option = FORUM_OPTION_FEED_NEWS)

Get forum select data for specified key and option

Parameters

string $key

Config key

int $forum_option

Forum option bit

Return Value

array

Forum select data

at line 1374
store_feed_forums($option, $key)

No description

Parameters

$option
$key

at line 1412
string enable_mod_rewrite(int $value, string $key)

Option to enable/disable removal of 'app.php' from URLs

Note that if mod_rewrite is on, URLs without app.php will still work, but any paths generated by the controller helper url() method will not contain app.php.

Parameters

int $value

The current config value

string $key

The config key

Return Value

string

The HTML for the form field

at line 1458
send_test_email($value, $key)

No description

Parameters

$value
$key

at line 1488
array webpush_enable(string $value, string $key)

Generate form data for web push enable

Parameters

string $value

Webpush enable value

string $key

Webpush enable config key

Return Value

array

Form data