Create hierarchical list of bbPress replies.

package bbPress
subpackage Classes
since 2.4.0 bbPress (r4944)

 Methods

Confirm the tree_type

__construct() 
since 2.6.0 bbPress (r5389)

display_element()

display_element($element = false, $children_elements = array(), $max_depth = 0, $depth = 0, $args = array(), $output = ''
since 2.4.0 bbPress (r4944)

Parameters

$element

$children_elements

$max_depth

$depth

$args

$output

end_el()

end_el($output = '', $object = false, $depth = 0, $args = array()
since 2.4.0 bbPress (r4944)

Parameters

$output

$object

$depth

$args

end_lvl()

end_lvl(string $output = '', integer $depth = 0, array $args = array()
see
since 2.4.0 bbPress (r4944)

Parameters

$output

string

Passed by reference. Used to append additional content

$depth

integer

Depth of reply

$args

array

Will only append content if style argument value is 'ol' or 'ul'

start_el()

start_el($output, $object, $depth = 0, $args = array(), $current_object_id = 0
see
since 2.4.0 bbPress (r4944)

Parameters

$output

$object

$depth

$args

$current_object_id

start_lvl()

start_lvl(string $output = '', integer $depth = 0, array $args = array()
see
since 2.4.0 bbPress (r4944)

Parameters

$output

string

Passed by reference. Used to append additional content

$depth

integer

Depth of reply

$args

array

Uses 'style' argument for type of HTML list

 Properties

 

$db_fields

$db_fields : array

Default

array('parent' => 'reply_to', 'id' => 'ID')
see
since 2.4.0 bbPress (r4944)
 

$tree_type

$tree_type : string

Default

'reply'
see
since 2.4.0 bbPress (r4944)