[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-templates/bp-nouveau/includes/ -> classes.php (summary)

Common Classes

Version: 9.0.0
File Size: 352 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

BP_Buttons_Group:: (5 methods):

BP_Nouveau_Object_Nav_Widget:: (5 methods):

Class: BP_Buttons_Group  - X-Ref

Builds a group of BP_Button

__construct( $args = array()   X-Ref

param: array $args Optional array having the following parameters {
since: 3.0.0

sort( $buttons )   X-Ref
Sort the Buttons of the group according to their position attribute

param: array the list of buttons to sort.
since: 3.0.0
return: array the list of buttons sorted.

get( $sort = true )   X-Ref
Get the BuddyPress buttons for the group

param: bool $sort whether to sort the buttons or not.
since: 3.0.0
return: array An array of HTML links.

update( $args = array()   X-Ref
Update the group of buttons

param: array $args Optional. See the __constructor for a description of this argument.
since: 3.0.0

add( $args )   X-Ref
Adds a button.

param: array $args Required. See the __constructor for a description of this argument.
since: 9.0.0
return: bool true on success, false on failure to add.

Class: BP_Nouveau_Object_Nav_Widget  - X-Ref

BP Sidebar Item Nav_Widget

Adds a widget to move avatar/item nav into the sidebar

__construct()   X-Ref

since: 3.0.0
since: 9.0.0 Adds the `show_instance_in_rest` property to Widget options.

register_widget()   X-Ref
Register the widget

since: 3.0.0

widget( $args, $instance )   X-Ref
Displays the output, the button to post new support topics

param: mixed   $args     Arguments
param: unknown $instance
since: 3.0.0

update( $new_instance, $old_instance )   X-Ref
Update the new support topic widget options (title)

param: array $new_instance The new instance options
param: array $old_instance The old instance options
since: 3.0.0
return: array the instance

form( $instance )   X-Ref
Output the new support topic widget options form

param: $instance Instance
since: 3.0.0
return: string HTML Output

Generated: Sun Sep 26 01:01:02 2021 Cross-referenced by PHPXref 0.7.1