Commit 78f8aea8 authored by Jonathan.Wage's avatar Jonathan.Wage

Added example code.

parent f3bdcb91
......@@ -103,7 +103,7 @@ abstract class Doctrine_Import_Schema
public function buildRelationships($array)
{
foreach($array as $name => $properties) {
foreach ($array as $name => $properties) {
$className = $properties['className'];
$relations = $properties['relations'];
......@@ -116,5 +116,12 @@ abstract class Doctrine_Import_Schema
$this->relations[$className][$class] = $relation;
}
}
// Fix the other end of the relations
foreach($this->relations as $className => $relations) {
foreach ($relations AS $alias => $relation) {
}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment