private function renderItems()
    {
        $items = [];
        $icons = $this->icons['items'];
        foreach($icons as $i){
            $labelContent = $i['label'];
            if ($this->encodeLabel) {
                $labelContent = Html::encode($labelContent);
            }
            $label = Html::tag('label',$labelContent)."\n";
            
            $icon = Html::tag('i','',['class'=>$i['icon']])."\n";
            
            $options = ArrayHelper::getValue($i, 'options', []);
            
            if(isset($options['class'])){
                $addClass = 'item '.$options['class'];
                $options = [
                    'class' => $addClass,
                ];
            }else{
                $options['class'] = 'item';
            }
            
            $url = $i['url'];
            $items[] = Html::a($icon.$label,$url,$options)."\n";
        }
        return implode("\n", $items);
    }
private function renderItems()
    {
        $items = [];
        $icons = $this->icons['items'];
        foreach($icons as $i){
            $labelContent = $i['label'];
            if ($this->encodeLabel) {
                $labelContent = Html::encode($labelContent);
            }
            $label = Html::tag('label',$labelContent)."\n";
            
            $icon = Html::tag('i','',['class'=>$i['icon']])."\n";
            
            $options = ArrayHelper::getValue($i, 'options', []);
            
            if(isset($options['class'])){
                $addClass = 'item '.$options['class'];
                $options = [
                    'class' => $addClass,
                ];
            }else{
                $options['class'] = 'item';
            }
            
            $url = $i['url'];
            $items[] = Html::a($icon.$label,$url,$options)."\n";
        }
        return implode("\n", $items);
    }
private function renderItems ( ) { $ items = [ ] ; $ icons = $ this -> icons [ 'items' ] ; foreach ( $ icons as $ i ) { $ labelContent = $ i [ 'label' ] ; if ( $ this -> encodeLabel ) { $ labelContent = Html :: encode ( $ labelContent ) ; } $ label = Html :: tag ( 'label' , $ labelContent ) . "\n" ; $ icon = Html :: tag ( 'i' , '' , [ 'class' => $ i [ 'icon' ] ] ) . "\n" ; $ options = ArrayHelper :: getValue ( $ i , 'options' , [ ] ) ; if ( isset ( $ options [ 'class' ] ) ) { $ addClass = 'item ' . $ options [ 'class' ] ; $ options = [ 'class' => $ addClass , ] ; } else { $ options [ 'class' ] = 'item' ; } $ url = $ i [ 'url' ] ; $ items [ ] = Html :: a ( $ icon . $ label , $ url , $ options ) . "\n" ; } return implode ( "\n" , $ items ) ; }
renderItems function.

@access private
@return void
renderItems function .