19 foreach ($models as $model){
21 $result[]=$tableExport->exports($this);
23 foreach ($this->manyToManys as $target=>$ManyToManyParser){
24 $ManyToManyParser->init();
26 $fields=[$ManyToManyParser->getFkField(),$ManyToManyParser->getMyFkField()];
27 $result[]=$sqlExport->exports($target,$fields);
29 return \implode(
"\n", $result);
33 if(!isset($this->manyToManys[$jointable])){
34 $this->manyToManys[$jointable]=
new ManyToManyParser($memberTargetEntity[
"class"], $memberTargetEntity[
"member"]);
static getModels(&$config, $silent=false)
addManyToMany($jointable, $memberTargetEntity)