protected function _searchConfigurationNodes($searchString, $nodes) { $matches = array(); foreach ($nodes as $node) { $match = $this->_searchNode($searchString, $node); if ($match) { $matches[] = $match; } } return $matches; }