/** * Returns CSS files * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); /** @var \XLite\View\Menu\Admin\LeftMenu\ANodeNotification $item */ foreach ($this->getItems() as $item) { $list = array_merge($list, $item->getCSSFiles()); } return $list; }
/** * Register CSS files * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); $list[] = $this->getDir() . '/menu.css'; return $list; }