| @@ 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 | ||
| @@ 628-634 (lines=7) @@ | ||
| 625 | } |
|
| 626 | } |
|
| 627 | ||
| 628 | if ($this->collUsers !== null) { |
|
| 629 | foreach ($this->collUsers as $referrerFK) { |
|
| 630 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 631 | $affectedRows += $referrerFK->save($con); |
|
| 632 | } |
|
| 633 | } |
|
| 634 | } |
|
| 635 | ||
| 636 | if ($this->connectionsScheduledForDeletion !== null) { |
|
| 637 | if (!$this->connectionsScheduledForDeletion->isEmpty()) { |
|
| @@ 645-651 (lines=7) @@ | ||
| 642 | } |
|
| 643 | } |
|
| 644 | ||
| 645 | if ($this->collConnections !== null) { |
|
| 646 | foreach ($this->collConnections as $referrerFK) { |
|
| 647 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 648 | $affectedRows += $referrerFK->save($con); |
|
| 649 | } |
|
| 650 | } |
|
| 651 | } |
|
| 652 | ||
| 653 | if ($this->channelsScheduledForDeletion !== null) { |
|
| 654 | if (!$this->channelsScheduledForDeletion->isEmpty()) { |
|
| @@ 662-668 (lines=7) @@ | ||
| 659 | } |
|
| 660 | } |
|
| 661 | ||
| 662 | if ($this->collChannels !== null) { |
|
| 663 | foreach ($this->collChannels as $referrerFK) { |
|
| 664 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 665 | $affectedRows += $referrerFK->save($con); |
|
| 666 | } |
|
| 667 | } |
|
| 668 | } |
|
| 669 | ||
| 670 | if ($this->subscriptionsScheduledForDeletion !== null) { |
|
| 671 | if (!$this->subscriptionsScheduledForDeletion->isEmpty()) { |
|
| @@ 679-685 (lines=7) @@ | ||
| 676 | } |
|
| 677 | } |
|
| 678 | ||
| 679 | if ($this->collSubscriptions !== null) { |
|
| 680 | foreach ($this->collSubscriptions as $referrerFK) { |
|
| 681 | if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) { |
|
| 682 | $affectedRows += $referrerFK->save($con); |
|
| 683 | } |
|
| 684 | } |
|
| 685 | } |
|
| 686 | ||
| 687 | $this->alreadyInSave = false; |
|
| 688 | ||
| @@ 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 | ||