$rootType
$rootType :
Create a compilre render
compileRelationFields(string $type, \Pluf_Model $mainModel)
Compile and add OneToMany or ManyToMany relations
These relations are created automatically and ther is no related field in the model definitions.
string | $type | Relation type: 'foreignkey' or 'manytomany'. |
\Pluf_Model | $mainModel | main model wihch is the target of compile |