+ foreach ($class->getConstants() as $name => $tmp) {
+ re($class->getName().".xml", "#>$name<#") or printf("\t%s::%s (%s)\n", $class->getName(), $name, $tmp);
+ }
+ foreach ($class->getProperties() as $prop) {
+ /* @var $prop ReflectionProperty */
+ $prop->isPrivate() or re($class->getName().".xml", "#>{$prop->getName()}<#") or printf("\t%s::$%s\n", $class->getName(), $prop->getName());
+ }