What do you mean "the property has to be an array of the same object type"... arrays don't have object types...
Maybe an example would explain what I'm going for. Say I have a blog post $post, and comments $comments. I want to map them so you're essentially doing this:
How would that be done with dORM?PHP Code:foreach ($comments as $comment){
$post->addComment ($comment);
}






Bookmarks