Exemplo n.º 1
0
 /**
  * Visit a Site Navigation Block
  * 
  * @param object SiteNavBlockSiteComponent $siteComponent
  * @return mixed
  * @access public
  * @since 8/31/07
  */
 public function visitSiteNavBlock(SiteNavBlockSiteComponent $siteComponent)
 {
     $visitor = new SiteNodeDataVisitor();
     $siteComponent->acceptVisitor($visitor);
     $this->_nodeData = $visitor->getNodeData();
 }
 /**
  * Visit a Site Navigation Block
  * 
  * @param object SiteNavBlockSiteComponent $siteComponent
  * @return mixed
  * @access public
  * @since 8/31/07
  */
 public function visitSiteNavBlock(SiteNavBlockSiteComponent $siteComponent)
 {
     // If there is no menu in the site, then by definition there is no header
     // or footer
     return $siteComponent->acceptVisitor($this->hasMenuBelowVisitor);
 }