public function renderNodes($models) { $options["item"] = [$this, 'renderNode']; $ul = Html::ul($models, $options); return $ul; }