| @@ 1400-1414 (lines=15) @@ | ||
| 1397 | * @return ChildUser The associated ChildUser object. |
|
| 1398 | * @throws PropelException |
|
| 1399 | */ |
|
| 1400 | public function getUser(ConnectionInterface $con = null) |
|
| 1401 | { |
|
| 1402 | if ($this->aUser === null && ($this->user_id !== null)) { |
|
| 1403 | $this->aUser = ChildUserQuery::create()->findPk($this->user_id, $con); |
|
| 1404 | /* The following can be used additionally to |
|
| 1405 | guarantee the related object contains a reference |
|
| 1406 | to this object. This level of coupling may, however, be |
|
| 1407 | undesirable since it could result in an only partially populated collection |
|
| 1408 | in the referenced object. |
|
| 1409 | $this->aUser->addConnections($this); |
|
| 1410 | */ |
|
| 1411 | } |
|
| 1412 | ||
| 1413 | return $this->aUser; |
|
| 1414 | } |
|
| 1415 | ||
| 1416 | /** |
|
| 1417 | * Clears the current object, sets all attributes to their default values and removes |
|
| @@ 1779-1793 (lines=15) @@ | ||
| 1776 | * @return ChildUser The associated ChildUser object. |
|
| 1777 | * @throws PropelException |
|
| 1778 | */ |
|
| 1779 | public function getUser(ConnectionInterface $con = null) |
|
| 1780 | { |
|
| 1781 | if ($this->aUser === null && ($this->user_id !== null)) { |
|
| 1782 | $this->aUser = ChildUserQuery::create()->findPk($this->user_id, $con); |
|
| 1783 | /* The following can be used additionally to |
|
| 1784 | guarantee the related object contains a reference |
|
| 1785 | to this object. This level of coupling may, however, be |
|
| 1786 | undesirable since it could result in an only partially populated collection |
|
| 1787 | in the referenced object. |
|
| 1788 | $this->aUser->addSubscriptions($this); |
|
| 1789 | */ |
|
| 1790 | } |
|
| 1791 | ||
| 1792 | return $this->aUser; |
|
| 1793 | } |
|
| 1794 | ||
| 1795 | /** |
|
| 1796 | * Declares an association between this object and a ChildChannel object. |
|