[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/common/ -> classes.php (summary)

bbPress Classes

File Size: 511 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

BBP_Component:: (8 methods):
  __construct()
  setup_globals()
  includes()
  setup_actions()
  register_post_types()
  register_taxonomies()
  add_rewrite_tags()
  generate_rewrite_rules()

BBP_Walker_Dropdown:: (2 methods):
  __construct()
  start_el()

BBP_Walker_Reply:: (6 methods):
  __construct()
  start_lvl()
  end_lvl()
  display_element()
  start_el()
  end_el()

BBP_Walker_Reply_Dropdown:: (2 methods):
  __construct()
  start_el()


Class: BBP_Component  - X-Ref

bbPress Component Class

The bbPress component class is responsible for simplifying the creation
of components that share similar behaviors and routines. It is used
internally by bbPress to create forums, topics and replies, but can be
extended to create other really neat things.

__construct( $args = array()   X-Ref
bbPress Component loader

since: 2.0.0 bbPress (r2700)
param: array $args Required. Supports these args:

setup_globals( $args = array()   X-Ref
Component global variables

since: 2.0.0 bbPress (r2700)

includes()   X-Ref
Include required files

since: 2.0.0 bbPress (r2700)

setup_actions()   X-Ref
Setup the actions

since: 2.0.0 bbPress (r2700)

register_post_types()   X-Ref
Setup the component post types

since: 2.0.0 bbPress (r2700)

register_taxonomies()   X-Ref
Register component specific taxonomies

since: 2.0.0 bbPress (r2700)

add_rewrite_tags()   X-Ref
Add any additional rewrite tags

since: 2.0.0 bbPress (r2700)

generate_rewrite_rules( $wp_rewrite )   X-Ref
Generate any additional rewrite rules

since: 2.0.0 bbPress (r2700)

Class: BBP_Walker_Dropdown  - X-Ref

Create HTML dropdown list of bbPress forums/topics.

__construct()   X-Ref
Set the tree_type

since: 2.0.0 bbPress (r2746)

start_el( &$output, $object, $depth = 0, $args = array()   X-Ref

since: 2.0.0 bbPress (r2746)
param: string $output Passed by reference. Used to append additional
param: object $object Post data object.
param: int    $depth  Depth of post in reference to parent posts. Used
param: array  $args   Uses 'selected' argument for selected post to set
param: int    $current_object_id

Class: BBP_Walker_Reply  - X-Ref

Create hierarchical list of bbPress replies.

__construct()   X-Ref
Confirm the tree_type

since: 2.6.0 bbPress (r5389)

start_lvl( &$output = '', $depth = 0, $args = array()   X-Ref

since: 2.4.0 bbPress (r4944)
param: string $output Passed by reference. Used to append additional content
param: int $depth Depth of reply
param: array $args Uses 'style' argument for type of HTML list

end_lvl( &$output = '', $depth = 0, $args = array()   X-Ref

since: 2.4.0 bbPress (r4944)
param: string $output Passed by reference. Used to append additional content
param: int $depth Depth of reply
param: array $args Will only append content if style argument value is 'ol' or 'ul'

display_element( $element = false, &$children_elements = array()   X-Ref

since: 2.4.0 bbPress (r4944)

start_el( &$output, $object, $depth = 0, $args = array()   X-Ref

since: 2.4.0 bbPress (r4944)

end_el( &$output = '', $object = false, $depth = 0, $args = array()   X-Ref

since: 2.4.0 bbPress (r4944)

Class: BBP_Walker_Reply_Dropdown  - X-Ref

Create HTML dropdown list of bbPress replies.

__construct()   X-Ref
Confirm the tree_type

since: 2.6.0 bbPress (r5389)

start_el( &$output, $object, $depth = 0, $args = array()   X-Ref

since: 2.6.0 bbPress (r5389)
param: string $output Passed by reference. Used to append additional
param: object $object Post data object.
param: int    $depth  Depth of post in reference to parent posts. Used
param: array  $args   Uses 'selected' argument for selected post to set
param: int    $current_object_id Not Used



Generated: Fri Oct 4 01:00:52 2024 Cross-referenced by PHPXref 0.7.1