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