/** * 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); }
/** * 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); }
/** * 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); }