Return associative array for Scenario Facility Staff Resource Requirements

Registered by Darlene McCullough

we have this search happening inside of an existing array of facility groups:

foreach ($this->scenarioFacilityGroup as $group) {
          foreach ($group->getAgScenarioFacilityResource() as $scenarioFacilityResource) {
            foreach ($this->staffResourceTypes as $srt) {

the $this->scenarioFacilityGroup array lets us do things like this:

$formsArray[$subKey][$subSubKey][$srt->staff_resource_type]

which means we can operate intelligently, so we can do:

if (isset($EXISTINGArray[$subKey][$subSubKey][$srt->staff_resource_type]))

... instead of having to do that inside of the loop.

Blueprint information

Status:
Not started
Approver:
Chad Heuschober
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Accepted for mayon
Implementation:
Unknown
Milestone target:
milestone icon 2.0.0

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.