BB_Walker_Blank

The BuddyPress BB Walker Blank class.

Defined (1)

The class is defined in the following location(s).

/bp-forums/bbpress/bb-includes/class.bb-walker.php  
  1. class BB_Walker_Blank extends BB_Walker { // Used for template functions 
  2. var $tree_type; 
  3. var $db_fields = array( 'id' => '', 'parent' => '' ); 
  4.  
  5. var $start_lvl = ''; 
  6. var $end_lvl = ''; 
  7.  
  8. //abstract callbacks 
  9. function start_lvl( $output, $depth ) {  
  10. if ( !$this->start_lvl ) 
  11. return ''; 
  12. $indent = str_repeat("\t", $depth); 
  13. $output .= $indent . "$this->start_lvl\n"; 
  14. return $output; 
  15.  
  16. function end_lvl( $output, $depth ) { 
  17. if ( !$this->end_lvl ) 
  18. return ''; 
  19. $indent = str_repeat("\t", $depth); 
  20. $output .= $indent . "$this->end_lvl\n"; 
  21. return $output; 
  22.  
  23. function start_el() { return ''; } 
  24. function end_el() { return ''; }