예제 #1
0
파일: app.php 프로젝트: Kevin-ZK/vaneDisk
 /**
  * Returns the app's navigation manager
  *
  * @return \OCP\INavigationManager
  */
 public static function getNavigationManager()
 {
     if (self::$navigationManager === null) {
         self::$navigationManager = new \OC\NavigationManager();
     }
     return self::$navigationManager;
 }
예제 #2
0
파일: app.php 프로젝트: kenwi/core
 /**
  * Returns the app's navigation manager
  *
  * @return \OCP\INavigationManager
  */
 public static function getNavigationManager()
 {
     // TODO: move this into a service in the Application class
     if (self::$navigationManager === null) {
         self::$navigationManager = new \OC\NavigationManager();
     }
     return self::$navigationManager;
 }