/**
  * Visit a the fixed Organizer of a nav block
  * 
  * @param object NavOrganizerSiteComponent $siteComponent
  * @return mixed
  * @access public
  * @since 8/31/07
  */
 public function visitNavOrganizer(NavOrganizerSiteComponent $siteComponent)
 {
     $parent = $siteComponent->getParentComponent();
     if (!$parent) {
         throw new OperationFailedException("No parent for " . $siteComponent->getId());
     }
     return $parent->acceptVisitor($this);
 }
Ejemplo n.º 2
0
 /**
  * Visit a the fixed Organizer of a nav block
  * 
  * @param object NavOrganizerSiteComponent $siteComponent
  * @return mixed
  * @access public
  * @since 6/6/08
  */
 public function visitNavOrganizer(NavOrganizerSiteComponent $siteComponent)
 {
     return $siteComponent->getParentComponent()->acceptVisitor($this);
 }
Ejemplo n.º 3
0
 /**
  * Visit a fixed organizer 
  * 
  * @param object FixedOrganizerSiteComponent $organizer
  * @return boolean
  * @access public
  * @since 5/31/07
  */
 public function visitNavOrganizer(NavOrganizerSiteComponent $organizer)
 {
     $parent = $organizer->getParentComponent();
     return $parent->acceptVisitor($this);
 }