| @@ 1181-1195 (lines=15) @@ | ||
| 1178 | * @return ChildInstance The associated ChildInstance object. |
|
| 1179 | * @throws PropelException |
|
| 1180 | */ |
|
| 1181 | public function getInstance(ConnectionInterface $con = null) |
|
| 1182 | { |
|
| 1183 | if ($this->aInstance === null && (($this->instance_name !== "" && $this->instance_name !== null))) { |
|
| 1184 | $this->aInstance = ChildInstanceQuery::create()->findPk($this->instance_name, $con); |
|
| 1185 | /* The following can be used additionally to |
|
| 1186 | guarantee the related object contains a reference |
|
| 1187 | to this object. This level of coupling may, however, be |
|
| 1188 | undesirable since it could result in an only partially populated collection |
|
| 1189 | in the referenced object. |
|
| 1190 | $this->aInstance->addChannels($this); |
|
| 1191 | */ |
|
| 1192 | } |
|
| 1193 | ||
| 1194 | return $this->aInstance; |
|
| 1195 | } |
|
| 1196 | ||
| 1197 | ||
| 1198 | /** |
|
| @@ 1349-1363 (lines=15) @@ | ||
| 1346 | * @return ChildInstance The associated ChildInstance object. |
|
| 1347 | * @throws PropelException |
|
| 1348 | */ |
|
| 1349 | public function getInstance(ConnectionInterface $con = null) |
|
| 1350 | { |
|
| 1351 | if ($this->aInstance === null && (($this->instance_name !== "" && $this->instance_name !== null))) { |
|
| 1352 | $this->aInstance = ChildInstanceQuery::create()->findPk($this->instance_name, $con); |
|
| 1353 | /* The following can be used additionally to |
|
| 1354 | guarantee the related object contains a reference |
|
| 1355 | to this object. This level of coupling may, however, be |
|
| 1356 | undesirable since it could result in an only partially populated collection |
|
| 1357 | in the referenced object. |
|
| 1358 | $this->aInstance->addConnections($this); |
|
| 1359 | */ |
|
| 1360 | } |
|
| 1361 | ||
| 1362 | return $this->aInstance; |
|
| 1363 | } |
|
| 1364 | ||
| 1365 | /** |
|
| 1366 | * Declares an association between this object and a ChildUser object. |
|
| @@ 1580-1594 (lines=15) @@ | ||
| 1577 | * @return ChildInstance The associated ChildInstance object. |
|
| 1578 | * @throws PropelException |
|
| 1579 | */ |
|
| 1580 | public function getInstance(ConnectionInterface $con = null) |
|
| 1581 | { |
|
| 1582 | if ($this->aInstance === null && (($this->instance_name !== "" && $this->instance_name !== null))) { |
|
| 1583 | $this->aInstance = ChildInstanceQuery::create()->findPk($this->instance_name, $con); |
|
| 1584 | /* The following can be used additionally to |
|
| 1585 | guarantee the related object contains a reference |
|
| 1586 | to this object. This level of coupling may, however, be |
|
| 1587 | undesirable since it could result in an only partially populated collection |
|
| 1588 | in the referenced object. |
|
| 1589 | $this->aInstance->addSubscriptions($this); |
|
| 1590 | */ |
|
| 1591 | } |
|
| 1592 | ||
| 1593 | return $this->aInstance; |
|
| 1594 | } |
|
| 1595 | ||
| 1596 | /** |
|
| 1597 | * Declares an association between this object and a ChildUser object. |
|
| @@ 1238-1252 (lines=15) @@ | ||
| 1235 | * @return ChildInstance The associated ChildInstance object. |
|
| 1236 | * @throws PropelException |
|
| 1237 | */ |
|
| 1238 | public function getInstance(ConnectionInterface $con = null) |
|
| 1239 | { |
|
| 1240 | if ($this->aInstance === null && (($this->instance_name !== "" && $this->instance_name !== null))) { |
|
| 1241 | $this->aInstance = ChildInstanceQuery::create()->findPk($this->instance_name, $con); |
|
| 1242 | /* The following can be used additionally to |
|
| 1243 | guarantee the related object contains a reference |
|
| 1244 | to this object. This level of coupling may, however, be |
|
| 1245 | undesirable since it could result in an only partially populated collection |
|
| 1246 | in the referenced object. |
|
| 1247 | $this->aInstance->addUsers($this); |
|
| 1248 | */ |
|
| 1249 | } |
|
| 1250 | ||
| 1251 | return $this->aInstance; |
|
| 1252 | } |
|
| 1253 | ||
| 1254 | ||
| 1255 | /** |
|