示例#1
0
 /**
  * Answer the site node above the current Node
  *
  * @return object SiteNavBlockSiteComponent
  * @access public
  * @since 3/31/08
  */
 public static function getCurrentRootNode()
 {
     if (!isset(self::$rootSiteComponent)) {
         self::$rootSiteComponent = self::getSiteDirector()->getRootSiteComponent(self::getCurrentNodeId());
     }
     return self::$rootSiteComponent;
 }