getProperty("agencyid")); $iProjAgeReq = $objProject->getProperty('agerequirement'); ?> getTeamsListWithType(TEAM_CAPTAIN),'ixentity1'); // then, if this user is a corporate sponsor manager, we get all teams that have a specific affiliation to // any of the companies for which this user is a corporate sponsor manager $arTeamsCorporateSponsorManager = $currUser->getTeamsAvailableToCorporateSponsorManager(); $arTeams = array_unique(array_merge($arTeamsCaptain, $arTeamsCorporateSponsorManager)); $colTeams = TeamFactory::listTeams($arTeams); $len = $colTeams->length(); if(!$len) { ?> getItem(0); ?>
toString() ?>
toString() ?>

getProperty("begin")) ?>
getProperty("begin")) ?> - getProperty("end")) ?>
projectcoordinators->getIterator(); $arCoordNames = array(); while($itCoords->hasNext()) { $objCoord =& $itCoords->getNext(); $arCoordNames[$objCoord->toString()] =& $objCoord->toString(); } ?> projectcoordinators->length() > 1 ? PLURAL('Project Coordinator') : SINGULAR('Project Coordinator')) ?>:

Location: location->getProperty('city') ?>, location->getProperty('state') ?> location->getProperty('zipcode') ?>

Pick a team to work on this project occurrence. Select the confirmed members of this team that you would like to participate in this project occurrence.
To sign up your team, you need to be a team captain. You are not currently the captain of any team.
toString() ?>
">
toString() ?>
getCaptains(); //$members =& $objTeam->getMembers(); $arMembers =& $objTeam->getMembersWithType(); $colTeamMembers = IndividualFactory::listIndividuals($arMembers); $arProjRestricts = ($objProject->restrictions->length() ? $objProject->restrictions->keys() : array()); $bPendingRestriction = (in_array(5, $arProjRestricts)) ? true : false ; $itCaps =& $captains->getIterator(); $itMems =& $colTeamMembers->getIterator(); $color1 = "E7E7E7"; $color2 = "6DB478"; $color3 = "B4B4B4"; $color4 = "FFFFFF"; $color5 = "C3C3C3"; $color6 = "6A6A6A"; $color7 = "CECECE"; while ($itCaps->hasNext() || $itMems->hasNext()) { if ($itCaps->hasNext()) { $objInd =& $itCaps->getNext(); $bIsCaptain = true; } else { $objInd =& $itMems->getNext(); $bIsCaptain = false; } $objInv = false; if ($objInv = $objTeam->isIndividualInvited($objInd)) { $sTeamStatus = 'invited'; } else { $sTeamStatus = 'confirmed'; } $bIsPC = $objOccurrence->isIndividualInProjectCoordinators($objInd); list ($arReasons, $arReasonsShort, $arReasonsAdmin, $arButtons) = ProjectView::canSignUpForProjectOccurrence(&$objInd, &$objOccurrence, &$objProject); $bAllowSignup = !sizeof($arReasonsShort); //This value will be === true if signed up with the team and === 1 if signed up alone $bAlreadySignedUp = $objOccurrence->isIndividualSignedup($objInd, $objTeam); $bIsChecked = $bAlreadySignedUp || ($currUser->getProperty("EntityID") == $objInd->getProperty("entityid")) || (is_array($arNewEntityIDs) && is_object($objInv) && in_array($objInv->getProperty("invitedid"), $arNewEntityIDs)); $sErrorMessage = implode('
',$arReasonsShort); ?>
Team Member Name Team Status Project Signup
toString() . ($bIsCaptain ? ' (Captain)' : '') ?> getProperty("entityid") . '"' . ($bIsChecked ? ' checked' : '') . '>'; } else { print '' . $sErrorMessage . ''; } } ?>