Project

General

Profile

Bug #60912 ยป stdclass.diff

Christian Weiske, 2014-08-12 14:09

View differences:

typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php
if (!$plainText) {
$dump .= '<a name="' . spl_object_hash($object) . '" id="' . spl_object_hash($object) . '"></a>';
}
$classReflection = new \ReflectionClass(get_class($object));
$properties = $classReflection->getProperties();
if (get_class($object) == 'stdClass') {
$objReflection = new \ReflectionObject($object);
$properties = $objReflection->getProperties();
} else {
$classReflection = new \ReflectionClass(get_class($object));
$properties = $classReflection->ogetProperties();
}
foreach ($properties as $property) {
if (self::isBlacklisted($property)) {
continue;
    (1-1/1)