[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/classes/ -> class-bp-walker-nav-menu-checklist.php (summary)

Core component classes.

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

Defines 1 class

BP_Walker_Nav_Menu_Checklist:: (4 methods):
  __construct()
  start_lvl()
  end_lvl()
  start_el()


Class: BP_Walker_Nav_Menu_Checklist  - X-Ref

Create a set of BuddyPress-specific links for use in the Menus admin UI.

Borrowed heavily from {@link Walker_Nav_Menu_Checklist}, but modified so as not
to require an actual post type or taxonomy, and to force certain CSS classes.

__construct( $fields = false )   X-Ref
Constructor.

param: array|bool $fields See {@link Walker_Nav_Menu::__construct()}.

start_lvl( &$output, $depth = 0, $args = array()   X-Ref
Create the markup to start a tree level.

param: string $output See {@Walker_Nav_Menu::start_lvl()}.
param: int    $depth  See {@Walker_Nav_Menu::start_lvl()}.
param: array  $args   See {@Walker_Nav_Menu::start_lvl()}.

end_lvl( &$output, $depth = 0, $args = array()   X-Ref
Create the markup to end a tree level.

param: string $output See {@Walker_Nav_Menu::end_lvl()}.
param: int    $depth  See {@Walker_Nav_Menu::end_lvl()}.
param: array  $args   See {@Walker_Nav_Menu::end_lvl()}.

start_el( &$output, $item, $depth = 0, $args = array()   X-Ref
Create the markup to start an element.

param: string       $output Passed by reference. Used to append additional
param: object       $item   Menu item data object.
param: int          $depth  Depth of menu item. Used for padding.
param: object|array $args   See {@Walker::start_el()}.
param: int          $id     See {@Walker::start_el()}.



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