示例#1
0
 /**
  * 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;
 }
示例#2
0
 /**
  * Register CSS files
  *
  * @return array
  */
 public function getCSSFiles()
 {
     $list = parent::getCSSFiles();
     $list[] = $this->getDir() . '/menu.css';
     return $list;
 }