[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ -> class-walker-category.php (summary)

Taxonomy API: Walker_Category class

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

Defines 1 class

Walker_Category:: (4 methods):
  start_lvl()
  end_lvl()
  start_el()
  end_el()


Class: Walker_Category  - X-Ref

Core class used to create an HTML list of categories.

start_lvl( &$output, $depth = 0, $args = array()   X-Ref
Starts the list before the elements are added.

param: string $output Used to append additional content. Passed by reference.
param: int    $depth  Optional. Depth of category. Used for tab indentation. Default 0.
param: array  $args   Optional. An array of arguments. Will only append content if style argument

end_lvl( &$output, $depth = 0, $args = array()   X-Ref
Ends the list of after the elements are added.

param: string $output Used to append additional content. Passed by reference.
param: int    $depth  Optional. Depth of category. Used for tab indentation. Default 0.
param: array  $args   Optional. An array of arguments. Will only append content if style argument

start_el( &$output, $data_object, $depth = 0, $args = array()   X-Ref
Starts the element output.

param: string  $output            Used to append additional content (passed by reference).
param: WP_Term $data_object       Category data object.
param: int     $depth             Optional. Depth of category in reference to parents. Default 0.
param: array   $args              Optional. An array of arguments. See wp_list_categories().
param: int     $current_object_id Optional. ID of the current category. Default 0.

end_el( &$output, $data_object, $depth = 0, $args = array()   X-Ref
Ends the element output, if needed.

param: string $output      Used to append additional content (passed by reference).
param: object $data_object Category data object. Not used.
param: int    $depth       Optional. Depth of category. Not used.
param: array  $args        Optional. An array of arguments. Only uses 'list' for whether should



Generated : Tue Dec 24 08:20:01 2024 Cross-referenced by PHPXref