/** * Visit a menu organizer and return the menu GUI component that corresponds * to it. * * @param object MenuOrganizerSiteComponent * @return object Component * @access public * @since 1/15/07 */ public function visitFlowOrganizer(FlowOrganizerSiteComponent $organizer) { if ($this->editModeVisitor->isHeaderOrFooter($organizer)) { return $organizer->acceptVisitor($this->editModeVisitor); } else { return parent::visitFlowOrganizer($organizer); } }
/** * Visit a flow organizer and return the resultant GUI component [a container]. * * @param object FlowOrganizerSiteComponent * @return object Component * @access public * @since 5/18/07 */ public function visitFlowOrganizer(FlowOrganizerSiteComponent $organizer) { if ($organizer->getId() == $this->_flowOrgId) { return $this->visitTargetBlock(); } else { return parent::visitFlowOrganizer($organizer); } }