nodeGroups; } function setNodeGroups($pNodeGroups) { $this->nodeGroups = $pNodeGroups; } function addNodeGroup($nodeGroup) { $this->nodeGroups[$nodeGroup->getName()] = $nodeGroup; } function removeNodeGroup($nodeGroup) { $this->nodeGroups[$nodeGroup->getName()] = NULL; } function getNodeGroupByName($nodeGroupName) { $nodeGroup = NULL; if(array_key_exists($nodeGroupName, $this->nodeGroups)) { $nodeGroup = $this->nodeGroups[$nodeGroupName]; } return $nodeGroup; } } ?>