1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00
This commit is contained in:
zYne 2007-10-12 21:32:26 +00:00
parent 37d7707f57
commit f3867dbf71

View file

@ -198,10 +198,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
break; break;
} }
$name = $class; $name = $class;
$names[] = $name; $names[] = $name;
} while ($class = get_parent_class($class)); } while ($class = get_parent_class($class));
if ($class === false) {
throw new Doctrine_Table_Exception('Unknown component.');
}
// reverse names // reverse names
$names = array_reverse($names); $names = array_reverse($names);
// save parents // save parents