예제 #1
0
파일: Menu.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Returns JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     /** @var \XLite\View\Menu\Admin\LeftMenu\ANodeNotification $item */
     foreach ($this->getItems() as $item) {
         $list = array_merge($list, $item->getJSFiles());
     }
     return $list;
 }
예제 #2
0
 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = $this->getDir() . '/controller.js';
     return $list;
 }