@@ 1295-1313 (lines=19) @@ | ||
1292 | * @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
|
1293 | * @throws PropelException |
|
1294 | */ |
|
1295 | public function setBannerImage(ChildBannerImage $v = null) |
|
1296 | { |
|
1297 | if ($v === null) { |
|
1298 | $this->setId(NULL); |
|
1299 | } else { |
|
1300 | $this->setId($v->getId()); |
|
1301 | } |
|
1302 | ||
1303 | $this->aBannerImage = $v; |
|
1304 | ||
1305 | // Add binding for other direction of this n:n relationship. |
|
1306 | // If this object has already been added to the ChildBannerImage object, it will not be re-added. |
|
1307 | if ($v !== null) { |
|
1308 | $v->addBannerImageI18n($this); |
|
1309 | } |
|
1310 | ||
1311 | ||
1312 | return $this; |
|
1313 | } |
|
1314 | ||
1315 | ||
1316 | /** |
@@ 1115-1133 (lines=19) @@ | ||
1112 | * @return $this|\xbanners\models\BannersI18n The current object (for fluent API support) |
|
1113 | * @throws PropelException |
|
1114 | */ |
|
1115 | public function setBanners(ChildBanners $v = null) |
|
1116 | { |
|
1117 | if ($v === null) { |
|
1118 | $this->setId(NULL); |
|
1119 | } else { |
|
1120 | $this->setId($v->getId()); |
|
1121 | } |
|
1122 | ||
1123 | $this->aBanners = $v; |
|
1124 | ||
1125 | // Add binding for other direction of this n:n relationship. |
|
1126 | // If this object has already been added to the ChildBanners object, it will not be re-added. |
|
1127 | if ($v !== null) { |
|
1128 | $v->addBannersI18n($this); |
|
1129 | } |
|
1130 | ||
1131 | ||
1132 | return $this; |
|
1133 | } |
|
1134 | ||
1135 | ||
1136 | /** |