renderDropdown() 보호된 메소드

This method is called to create sub-menus.
부터: 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.
리턴 string the rendering result.
예제 #1
0
파일: Nav.php 프로젝트: semnt/tp01
 protected function renderDropdown($items, $parentItem)
 {
     foreach ($items as &$item) {
         $this->changeItem($item);
     }
     return parent::renderDropdown($items, $parentItem);
 }