phpBB API Documentation
Class

acp_forums

class acp_forums

Properties

$u_action
$parent_id

Methods

main($id, $mode)

get_forum_info($forum_id)

Get forum details

update_forum_data($forum_data_ary)

Update forum data

move_forum($from_id, $to_id)

Move forum

move_forum_content($from_id, $to_id, $sync = true)

Move forum content from one to another forum

delete_forum($forum_id, $action_posts = 'delete', $action_subforums = 'delete', $posts_to_id, $subforums_to_id)

Remove complete forum

delete_forum_content($forum_id)

Delete forum content

move_forum_by($forum_row, $action = 'move_up', $steps = 1)

Move forum position by $steps up/down

display_progress_bar($start, $total)

Display progress bar for syncinc forums

copy_permission_page($forum_data)

Display copy permission page Not used at the moment - we will have a look at it for 3.0.7

Details

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

Parameters

$id
$mode

at line 941
public get_forum_info($forum_id)

Get forum details

Parameters

$forum_id

at line 963
public update_forum_data($forum_data_ary)

Update forum data

Parameters

$forum_data_ary

at line 1396
public move_forum($from_id, $to_id)

Move forum

Parameters

$from_id
$to_id

at line 1511
public move_forum_content($from_id, $to_id, $sync = true)

Move forum content from one to another forum

Parameters

$from_id
$to_id
$sync

at line 1571
public delete_forum($forum_id, $action_posts = 'delete', $action_subforums = 'delete', $posts_to_id, $subforums_to_id)

Remove complete forum

Parameters

$forum_id
$action_posts
$action_subforums
$posts_to_id
$subforums_to_id

at line 1812
public delete_forum_content($forum_id)

Delete forum content

Parameters

$forum_id

at line 2042
public move_forum_by($forum_row, $action = 'move_up', $steps = 1)

Move forum position by $steps up/down

Parameters

$forum_row
$action
$steps

at line 2123
public display_progress_bar($start, $total)

Display progress bar for syncinc forums

Parameters

$start
$total

at line 2145
public copy_permission_page($forum_data)

Display copy permission page Not used at the moment - we will have a look at it for 3.0.7

Parameters

$forum_data