public function renderItem($label, $options = array())
    {
        if ($this->tagName === 'nav') {
            $url         = ArrayHelper::removeValue($options, 'href', '#');
            $htmlOptions = ArrayHelper::removeValue($options, 'options', array());
            echo \CHtml::openTag('li', $htmlOptions);
            echo \CHtml::link($label, $url);
            echo \CHtml::closeTag('li');
        } else {
            $htmlOptions = ArrayHelper::removeValue($options, 'options', array());
            echo \CHtml::tag('a', array_merge($htmlOptions, $options), $label);
        }
    }