PHP Class acp_forums

Show file Open project: phpbb/phpbb Class Usage Examples

Public Properties

Property Type Description
$parent_id
$u_action

Public Methods

Method Description
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
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
display_progress_bar ( $start, $total ) Display progress bar for syncinc forums
get_forum_info ( $forum_id ) Get forum details
main ( $id, $mode )
move_forum ( $from_id, $to_id ) Move forum
move_forum_by ( $forum_row, $action = 'move_up', $steps = 1 ) Move forum position by $steps up/down
move_forum_content ( $from_id, $to_id, $sync = true ) Move forum content from one to another forum
update_forum_data ( &$forum_data_ary ) Update forum data

Method Details

copy_permission_page() public method

Display copy permission page Not used at the moment - we will have a look at it for 3.0.7
public copy_permission_page ( $forum_data )

delete_forum() public method

Remove complete forum
public delete_forum ( $forum_id, $action_posts = 'delete', $action_subforums = 'delete', $posts_to_id, $subforums_to_id )

delete_forum_content() public method

Delete forum content
public delete_forum_content ( $forum_id )

display_progress_bar() public method

Display progress bar for syncinc forums
public display_progress_bar ( $start, $total )

get_forum_info() public method

Get forum details
public get_forum_info ( $forum_id )

main() public method

public main ( $id, $mode )

move_forum() public method

Move forum
public move_forum ( $from_id, $to_id )

move_forum_by() public method

Move forum position by $steps up/down
public move_forum_by ( $forum_row, $action = 'move_up', $steps = 1 )

move_forum_content() public method

Move forum content from one to another forum
public move_forum_content ( $from_id, $to_id, $sync = true )

update_forum_data() public method

Update forum data
public update_forum_data ( &$forum_data_ary )

Property Details

$parent_id public property

public $parent_id

$u_action public property

public $u_action