| @@ 1620-1634 (lines=15) @@ | ||
| 1617 | * @return ChildBanners The associated ChildBanners object. |
|
| 1618 | * @throws PropelException |
|
| 1619 | */ |
|
| 1620 | public function getBanners(ConnectionInterface $con = null) |
|
| 1621 | { |
|
| 1622 | if ($this->aBanners === null && ($this->banner_id !== null)) { |
|
| 1623 | $this->aBanners = ChildBannersQuery::create()->findPk($this->banner_id, $con); |
|
| 1624 | /* The following can be used additionally to |
|
| 1625 | guarantee the related object contains a reference |
|
| 1626 | to this object. This level of coupling may, however, be |
|
| 1627 | undesirable since it could result in an only partially populated collection |
|
| 1628 | in the referenced object. |
|
| 1629 | $this->aBanners->addBannerImages($this); |
|
| 1630 | */ |
|
| 1631 | } |
|
| 1632 | ||
| 1633 | return $this->aBanners; |
|
| 1634 | } |
|
| 1635 | ||
| 1636 | ||
| 1637 | /** |
|
| @@ 1143-1157 (lines=15) @@ | ||
| 1140 | * @return ChildBanners The associated ChildBanners object. |
|
| 1141 | * @throws PropelException |
|
| 1142 | */ |
|
| 1143 | public function getBanners(ConnectionInterface $con = null) |
|
| 1144 | { |
|
| 1145 | if ($this->aBanners === null && ($this->id !== null)) { |
|
| 1146 | $this->aBanners = ChildBannersQuery::create()->findPk($this->id, $con); |
|
| 1147 | /* The following can be used additionally to |
|
| 1148 | guarantee the related object contains a reference |
|
| 1149 | to this object. This level of coupling may, however, be |
|
| 1150 | undesirable since it could result in an only partially populated collection |
|
| 1151 | in the referenced object. |
|
| 1152 | $this->aBanners->addBannersI18ns($this); |
|
| 1153 | */ |
|
| 1154 | } |
|
| 1155 | ||
| 1156 | return $this->aBanners; |
|
| 1157 | } |
|
| 1158 | ||
| 1159 | /** |
|
| 1160 | * Clears the current object, sets all attributes to their default values and removes |
|