| @@ 684-690 (lines=7) @@ | ||
| 681 | } |
|
| 682 | } |
|
| 683 | ||
| 684 | if ($this->collSubscriptions !== null) { |
|
| 685 | foreach ($this->collSubscriptions as $referrerFK) { |
|
| 686 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 687 | $affectedRows += $referrerFK->save($con); |
|
| 688 | } |
|
| 689 | } |
|
| 690 | } |
|
| 691 | ||
| 692 | $this->alreadyInSave = false; |
|
| 693 | ||
| @@ 702-708 (lines=7) @@ | ||
| 699 | } |
|
| 700 | } |
|
| 701 | ||
| 702 | if ($this->collConnections !== null) { |
|
| 703 | foreach ($this->collConnections as $referrerFK) { |
|
| 704 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 705 | $affectedRows += $referrerFK->save($con); |
|
| 706 | } |
|
| 707 | } |
|
| 708 | } |
|
| 709 | ||
| 710 | if ($this->subscriptionsScheduledForDeletion !== null) { |
|
| 711 | if (!$this->subscriptionsScheduledForDeletion->isEmpty()) { |
|
| @@ 720-726 (lines=7) @@ | ||
| 717 | } |
|
| 718 | } |
|
| 719 | ||
| 720 | if ($this->collSubscriptions !== null) { |
|
| 721 | foreach ($this->collSubscriptions as $referrerFK) { |
|
| 722 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 723 | $affectedRows += $referrerFK->save($con); |
|
| 724 | } |
|
| 725 | } |
|
| 726 | } |
|
| 727 | ||
| 728 | $this->alreadyInSave = false; |
|
| 729 | ||
| @@ 857-863 (lines=7) @@ | ||
| 854 | } |
|
| 855 | } |
|
| 856 | ||
| 857 | if ($this->collSubscriptions !== null) { |
|
| 858 | foreach ($this->collSubscriptions as $referrerFK) { |
|
| 859 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 860 | $affectedRows += $referrerFK->save($con); |
|
| 861 | } |
|
| 862 | } |
|
| 863 | } |
|
| 864 | ||
| 865 | $this->alreadyInSave = false; |
|
| 866 | ||
| @@ 645-651 (lines=7) @@ | ||
| 642 | } |
|
| 643 | } |
|
| 644 | ||
| 645 | if ($this->collUsers !== null) { |
|
| 646 | foreach ($this->collUsers as $referrerFK) { |
|
| 647 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 648 | $affectedRows += $referrerFK->save($con); |
|
| 649 | } |
|
| 650 | } |
|
| 651 | } |
|
| 652 | ||
| 653 | if ($this->connectionsScheduledForDeletion !== null) { |
|
| 654 | if (!$this->connectionsScheduledForDeletion->isEmpty()) { |
|
| @@ 662-668 (lines=7) @@ | ||
| 659 | } |
|
| 660 | } |
|
| 661 | ||
| 662 | if ($this->collConnections !== null) { |
|
| 663 | foreach ($this->collConnections as $referrerFK) { |
|
| 664 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 665 | $affectedRows += $referrerFK->save($con); |
|
| 666 | } |
|
| 667 | } |
|
| 668 | } |
|
| 669 | ||
| 670 | if ($this->inputsScheduledForDeletion !== null) { |
|
| 671 | if (!$this->inputsScheduledForDeletion->isEmpty()) { |
|
| @@ 679-685 (lines=7) @@ | ||
| 676 | } |
|
| 677 | } |
|
| 678 | ||
| 679 | if ($this->collInputs !== null) { |
|
| 680 | foreach ($this->collInputs as $referrerFK) { |
|
| 681 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 682 | $affectedRows += $referrerFK->save($con); |
|
| 683 | } |
|
| 684 | } |
|
| 685 | } |
|
| 686 | ||
| 687 | if ($this->channelsScheduledForDeletion !== null) { |
|
| 688 | if (!$this->channelsScheduledForDeletion->isEmpty()) { |
|
| @@ 696-702 (lines=7) @@ | ||
| 693 | } |
|
| 694 | } |
|
| 695 | ||
| 696 | if ($this->collChannels !== null) { |
|
| 697 | foreach ($this->collChannels as $referrerFK) { |
|
| 698 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 699 | $affectedRows += $referrerFK->save($con); |
|
| 700 | } |
|
| 701 | } |
|
| 702 | } |
|
| 703 | ||
| 704 | if ($this->subscriptionsScheduledForDeletion !== null) { |
|
| 705 | if (!$this->subscriptionsScheduledForDeletion->isEmpty()) { |
|
| @@ 713-719 (lines=7) @@ | ||
| 710 | } |
|
| 711 | } |
|
| 712 | ||
| 713 | if ($this->collSubscriptions !== null) { |
|
| 714 | foreach ($this->collSubscriptions as $referrerFK) { |
|
| 715 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 716 | $affectedRows += $referrerFK->save($con); |
|
| 717 | } |
|
| 718 | } |
|
| 719 | } |
|
| 720 | ||
| 721 | $this->alreadyInSave = false; |
|
| 722 | ||