Merge pull request #2335 from evjan/3.1

Corrected parameters in model relations example
This commit is contained in:
Ingo Schommer 2013-08-20 06:28:35 -07:00
commit 79d633a320

View File

@ -158,7 +158,7 @@ Model relations can be expressed through the same notation as in the YAML fixtur
described earlier, through the `=>` prefix on data values.
:::php
$obj = $factory->createObject('MyObject', array(
$obj = $factory->createObject('MyObject', 'myobj1', array(
'MyHasManyRelation' => '=>MyOtherObject.obj1,=>MyOtherObject.obj2'
));
@ -225,4 +225,4 @@ By default, blueprint names equal the class names they manage.
// $myPageObj->MyProperty = My Default Value
// $myPageObj->MyOtherProperty = My Custom Value
}
}
}