renderDropdown() protected method

This method is called to create sub-menus.
Since: 2.0.1
protected renderDropdown ( array $items, array $parentItem ) : string
$items array the given items. Please refer to [[Dropdown::items]] for the array structure.
$parentItem array the parent item information. Please refer to [[items]] for the structure of this array.
return string the rendering result.
Esempio n. 1
0
File: Nav.php Progetto: semnt/tp01
 protected function renderDropdown($items, $parentItem)
 {
     foreach ($items as &$item) {
         $this->changeItem($item);
     }
     return parent::renderDropdown($items, $parentItem);
 }