| @@ 657-662 (lines=6) @@ | ||
| 654 | // method. This object relates to these object(s) by a |
|
| 655 | // foreign key reference. |
|
| 656 | ||
| 657 | if ($this->aInstance !== null) { |
|
| 658 | if ($this->aInstance->isModified() || $this->aInstance->isNew()) { |
|
| 659 | $affectedRows += $this->aInstance->save($con); |
|
| 660 | } |
|
| 661 | $this->setInstance($this->aInstance); |
|
| 662 | } |
|
| 663 | ||
| 664 | if ($this->isNew() || $this->isModified()) { |
|
| 665 | // persist changes |
|
| @@ 785-790 (lines=6) @@ | ||
| 782 | // method. This object relates to these object(s) by a |
|
| 783 | // foreign key reference. |
|
| 784 | ||
| 785 | if ($this->aInstance !== null) { |
|
| 786 | if ($this->aInstance->isModified() || $this->aInstance->isNew()) { |
|
| 787 | $affectedRows += $this->aInstance->save($con); |
|
| 788 | } |
|
| 789 | $this->setInstance($this->aInstance); |
|
| 790 | } |
|
| 791 | ||
| 792 | if ($this->aUser !== null) { |
|
| 793 | if ($this->aUser->isModified() || $this->aUser->isNew()) { |
|
| @@ 792-797 (lines=6) @@ | ||
| 789 | $this->setInstance($this->aInstance); |
|
| 790 | } |
|
| 791 | ||
| 792 | if ($this->aUser !== null) { |
|
| 793 | if ($this->aUser->isModified() || $this->aUser->isNew()) { |
|
| 794 | $affectedRows += $this->aUser->save($con); |
|
| 795 | } |
|
| 796 | $this->setUser($this->aUser); |
|
| 797 | } |
|
| 798 | ||
| 799 | if ($this->isNew() || $this->isModified()) { |
|
| 800 | // persist changes |
|
| @@ 930-935 (lines=6) @@ | ||
| 927 | // method. This object relates to these object(s) by a |
|
| 928 | // foreign key reference. |
|
| 929 | ||
| 930 | if ($this->aInstance !== null) { |
|
| 931 | if ($this->aInstance->isModified() || $this->aInstance->isNew()) { |
|
| 932 | $affectedRows += $this->aInstance->save($con); |
|
| 933 | } |
|
| 934 | $this->setInstance($this->aInstance); |
|
| 935 | } |
|
| 936 | ||
| 937 | if ($this->aUser !== null) { |
|
| 938 | if ($this->aUser->isModified() || $this->aUser->isNew()) { |
|
| @@ 937-942 (lines=6) @@ | ||
| 934 | $this->setInstance($this->aInstance); |
|
| 935 | } |
|
| 936 | ||
| 937 | if ($this->aUser !== null) { |
|
| 938 | if ($this->aUser->isModified() || $this->aUser->isNew()) { |
|
| 939 | $affectedRows += $this->aUser->save($con); |
|
| 940 | } |
|
| 941 | $this->setUser($this->aUser); |
|
| 942 | } |
|
| 943 | ||
| 944 | if ($this->aChannel !== null) { |
|
| 945 | if ($this->aChannel->isModified() || $this->aChannel->isNew()) { |
|
| @@ 944-949 (lines=6) @@ | ||
| 941 | $this->setUser($this->aUser); |
|
| 942 | } |
|
| 943 | ||
| 944 | if ($this->aChannel !== null) { |
|
| 945 | if ($this->aChannel->isModified() || $this->aChannel->isNew()) { |
|
| 946 | $affectedRows += $this->aChannel->save($con); |
|
| 947 | } |
|
| 948 | $this->setChannel($this->aChannel); |
|
| 949 | } |
|
| 950 | ||
| 951 | if ($this->isNew() || $this->isModified()) { |
|
| 952 | // persist changes |
|
| @@ 674-679 (lines=6) @@ | ||
| 671 | // method. This object relates to these object(s) by a |
|
| 672 | // foreign key reference. |
|
| 673 | ||
| 674 | if ($this->aInstance !== null) { |
|
| 675 | if ($this->aInstance->isModified() || $this->aInstance->isNew()) { |
|
| 676 | $affectedRows += $this->aInstance->save($con); |
|
| 677 | } |
|
| 678 | $this->setInstance($this->aInstance); |
|
| 679 | } |
|
| 680 | ||
| 681 | if ($this->isNew() || $this->isModified()) { |
|
| 682 | // persist changes |
|