src/View/Helper/NavHelper.php
public function getLiAttr()
    {
        $params = self::$_itemParams;
        $attr   = ['class' => 'li-item'];

        if (isset($params['item']['liClass'])) {
            $attr = $this->addClass($attr, $params['item']['liClass']);
        }

        if ($params['item']['last']) {
            $attr = $this->addClass($attr, 'last');
        }

        if ($params['item']['first']) {
            $attr = $this->addClass($attr, 'first');
        }

        return $this->_setActive($attr);
    }
public function getLiAttr()
    {
        $params = self::$_itemParams;
        $attr   = ['class' => 'li-item'];

        if (isset($params['item']['liClass'])) {
            $attr = $this->addClass($attr, $params['item']['liClass']);
        }

        if ($params['item']['last']) {
            $attr = $this->addClass($attr, 'last');
        }

        if ($params['item']['first']) {
            $attr = $this->addClass($attr, 'first');
        }

        return $this->_setActive($attr);
    }
public function getLiAttr ( ) { $ params = self :: $ _itemParams ; $ attr = [ 'class' => 'li-item' ] ; if ( isset ( $ params [ 'item' ] [ 'liClass' ] ) ) { $ attr = $ this -> addClass ( $ attr , $ params [ 'item' ] [ 'liClass' ] ) ; } if ( $ params [ 'item' ] [ 'last' ] ) { $ attr = $ this -> addClass ( $ attr , 'last' ) ; } if ( $ params [ 'item' ] [ 'first' ] ) { $ attr = $ this -> addClass ( $ attr , 'first' ) ; } return $ this -> _setActive ( $ attr ) ; }
Get default li attributes.

@return array
Get default li attributes .