* * @var string */ public $headListStart = '
'; /** * Heading List End * * @var string */ public $headListEnd = '
'; /** * Heading List Start * Use %s for attribute placement. Example: * * @var string */ public $headItemStart = ''; /** * Heading List End * * @var string */ public $headItemEnd = ''; /** * List(Section) Start * * @var string */ public $listStart = ''; /** * List(Section) End * * @var string */ public $listEnd = ''; /** * Item Start * * @var string */ public $itemStart = ''; /** * Item End * * @var string */ public $itemEnd = ''; /** * Format a heading group. * * @param int $headingStart * @param int $headingCount * @param string $headingLink * @param array $articles * @param Lister $lister * @return string */ public function formatItem( $headingStart, $headingCount, $headingLink, $articles, Lister $lister ) { $item = ''; $item .= $this->headListStart . $headingLink; if ( $this->showHeadingCount ) { $item .= $this->articleCountMessage( $headingCount ); } $item .= $this->headListEnd; $item .= $this->getItemStart() . $lister->formatList( $articles, $headingStart, $headingCount ) . $this->getItemEnd(); return $item; } }