src/UI/HTML/Index.php
public function renderList( $itemClassPrefix = "level-" ){
		$list	= array();																			//  
		foreach( $this->headings as $item ){														//  
			$link	= UI_HTML_Tag::create( 'a', $item->label, array( 'href' => "#".$item->id ) );	//  
			$attributes		= array( 'class' => $itemClassPrefix.$item->level );							//  
			$list[]	= UI_HTML_Elements::ListItem( $link, 0, $attributes );							//  
		}
		return UI_HTML_Tag::create( 'ul', $list, array( 'class' => 'index-list' ) );				//  
	}
public function renderList( $itemClassPrefix = "level-" ){
		$list	= array();																			//  
		foreach( $this->headings as $item ){														//  
			$link	= UI_HTML_Tag::create( 'a', $item->label, array( 'href' => "#".$item->id ) );	//  
			$attributes		= array( 'class' => $itemClassPrefix.$item->level );							//  
			$list[]	= UI_HTML_Elements::ListItem( $link, 0, $attributes );							//  
		}
		return UI_HTML_Tag::create( 'ul', $list, array( 'class' => 'index-list' ) );				//  
	}
public function renderList ( $ itemClassPrefix = "level-" ) { $ list = array ( ) ; //   foreach ( $ this -> headings as $ item ) { //   $ link = UI_HTML_Tag :: create ( 'a' , $ item -> label , array ( 'href' => "#" . $ item -> id ) ) ; //   $ attributes = array ( 'class' => $ itemClassPrefix . $ item -> level ) ; //   $ list [ ] = UI_HTML_Elements :: ListItem ( $ link , 0 , $ attributes ) ; //   } return UI_HTML_Tag :: create ( 'ul' , $ list , array ( 'class' => 'index-list' ) ) ; //   }
Generates plain list of parsed heading structure.
@access		public
@return		string		HTML of list containing heading structure.
Generates plain list of parsed heading structure .