private function traverse(DoxyGroup $dg) { $this->groupDefs[] = " * @defgroup {$dg->getGid()} {$dg->getId()}"; if ($about = $dg->getAbout()) { $this->groupDefs[] = " * " . $about; } if ($parentGid = $dg->getParent()->getGid()) { $this->groupDefs[] = " * @ingroup " . $parentGid; } foreach ($dg->getInner() as $innerGroup) { $this->traverse($innerGroup); } }