Example #1
0
 public function render($options = [])
 {
     $defaultOptions = ['class' => 'UserMenu', 'options' => ['class' => 'sidebar-menu']];
     return parent::render(array_merge($defaultOptions, $options));
 }
Example #2
0
 public function render($options = [])
 {
     $hipanelOptions = ['class' => \hipanel\widgets\Menu::class, 'options' => ['class' => 'sidebar-menu']];
     return parent::render(array_merge($hipanelOptions, $options));
 }