protected function buildItem($position, array $item)
    {
        $position +=1;

        list($title, $aAttr, $liAttr) = $item;

        $base = $this->baseAttr;
        $esc  = $this->escaper->attr;

        $meta = $base['meta'];
        $meta['content'] = $position;


        $liAttr   = $esc(array_merge_recursive($liAttr, $base['li']));
        $aAttr    = $esc(array_merge_recursive($aAttr, $base['a']));
        $spanAttr = $esc($base['span']);

        $title  = "<span $spanAttr>$title</span>";
        $anchor = "<a $aAttr>$title</a>";
        $meta   = $this->void('meta', $meta);

        $this->html .= $this->indent(2, "<li {$liAttr}>");
        $this->html .= $this->indent(3, $anchor);
        $this->html .= $this->indent(3, $meta);
        $this->html .= $this->indent(2, '</li>');
    }
protected function buildItem($position, array $item)
    {
        $position +=1;

        list($title, $aAttr, $liAttr) = $item;

        $base = $this->baseAttr;
        $esc  = $this->escaper->attr;

        $meta = $base['meta'];
        $meta['content'] = $position;


        $liAttr   = $esc(array_merge_recursive($liAttr, $base['li']));
        $aAttr    = $esc(array_merge_recursive($aAttr, $base['a']));
        $spanAttr = $esc($base['span']);

        $title  = "<span $spanAttr>$title</span>";
        $anchor = "<a $aAttr>$title</a>";
        $meta   = $this->void('meta', $meta);

        $this->html .= $this->indent(2, "<li {$liAttr}>");
        $this->html .= $this->indent(3, $anchor);
        $this->html .= $this->indent(3, $meta);
        $this->html .= $this->indent(2, '</li>');
    }
protected function buildItem ( $ position , array $ item ) { $ position += 1 ; list ( $ title , $ aAttr , $ liAttr ) = $ item ; $ base = $ this -> baseAttr ; $ esc = $ this -> escaper -> attr ; $ meta = $ base [ 'meta' ] ; $ meta [ 'content' ] = $ position ; $ liAttr = $ esc ( array_merge_recursive ( $ liAttr , $ base [ 'li' ] ) ) ; $ aAttr = $ esc ( array_merge_recursive ( $ aAttr , $ base [ 'a' ] ) ) ; $ spanAttr = $ esc ( $ base [ 'span' ] ) ; $ title = "<span $spanAttr>$title</span>" ; $ anchor = "<a $aAttr>$title</a>" ; $ meta = $ this -> void ( 'meta' , $ meta ) ; $ this -> html .= $ this -> indent ( 2 , "<li {$liAttr}>" ) ; $ this -> html .= $ this -> indent ( 3 , $ anchor ) ; $ this -> html .= $ this -> indent ( 3 , $ meta ) ; $ this -> html .= $ this -> indent ( 2 , '</li>' ) ; }
build an item

@param int   $position numeric position
@param array $item     array representation of item

@return void

@access protected
build an item