Returns the configuration for groups.
@since Method available since Release 3.2.1
array
public function getGroupConfiguration() {
$groups = array(
'include' => array(),
'exclude' => array(),
);
foreach ($this->xpath
->query('groups/include/group') as $group) {
$groups['include'][] = (string) $group->nodeValue;
}
foreach ($this->xpath
->query('groups/exclude/group') as $group) {
$groups['exclude'][] = (string) $group->nodeValue;
}
return $groups;
}