| @@ 783-796 (lines=14) @@ | ||
| 780 | * |
|
| 781 | * @return ChildBannerImageQuery The current query, for fluid interface |
|
| 782 | */ |
|
| 783 | public function filterByBannerImageI18n($bannerImageI18n, $comparison = null) |
|
| 784 | { |
|
| 785 | if ($bannerImageI18n instanceof \xbanners\models\BannerImageI18n) { |
|
| 786 | return $this |
|
| 787 | ->addUsingAlias(BannerImageTableMap::COL_ID, $bannerImageI18n->getId(), $comparison); |
|
| 788 | } elseif ($bannerImageI18n instanceof ObjectCollection) { |
|
| 789 | return $this |
|
| 790 | ->useBannerImageI18nQuery() |
|
| 791 | ->filterByPrimaryKeys($bannerImageI18n->getPrimaryKeys()) |
|
| 792 | ->endUse(); |
|
| 793 | } else { |
|
| 794 | throw new PropelException('filterByBannerImageI18n() only accepts arguments of type \xbanners\models\BannerImageI18n or Collection'); |
|
| 795 | } |
|
| 796 | } |
|
| 797 | ||
| 798 | /** |
|
| 799 | * Adds a JOIN clause to the query using the BannerImageI18n relation |
|
| @@ 497-510 (lines=14) @@ | ||
| 494 | * |
|
| 495 | * @return ChildBannersQuery The current query, for fluid interface |
|
| 496 | */ |
|
| 497 | public function filterByBannerImage($bannerImage, $comparison = null) |
|
| 498 | { |
|
| 499 | if ($bannerImage instanceof \xbanners\models\BannerImage) { |
|
| 500 | return $this |
|
| 501 | ->addUsingAlias(BannersTableMap::COL_ID, $bannerImage->getBannerId(), $comparison); |
|
| 502 | } elseif ($bannerImage instanceof ObjectCollection) { |
|
| 503 | return $this |
|
| 504 | ->useBannerImageQuery() |
|
| 505 | ->filterByPrimaryKeys($bannerImage->getPrimaryKeys()) |
|
| 506 | ->endUse(); |
|
| 507 | } else { |
|
| 508 | throw new PropelException('filterByBannerImage() only accepts arguments of type \xbanners\models\BannerImage or Collection'); |
|
| 509 | } |
|
| 510 | } |
|
| 511 | ||
| 512 | /** |
|
| 513 | * Adds a JOIN clause to the query using the BannerImage relation |
|
| @@ 570-583 (lines=14) @@ | ||
| 567 | * |
|
| 568 | * @return ChildBannersQuery The current query, for fluid interface |
|
| 569 | */ |
|
| 570 | public function filterByBannersI18n($bannersI18n, $comparison = null) |
|
| 571 | { |
|
| 572 | if ($bannersI18n instanceof \xbanners\models\BannersI18n) { |
|
| 573 | return $this |
|
| 574 | ->addUsingAlias(BannersTableMap::COL_ID, $bannersI18n->getId(), $comparison); |
|
| 575 | } elseif ($bannersI18n instanceof ObjectCollection) { |
|
| 576 | return $this |
|
| 577 | ->useBannersI18nQuery() |
|
| 578 | ->filterByPrimaryKeys($bannersI18n->getPrimaryKeys()) |
|
| 579 | ->endUse(); |
|
| 580 | } else { |
|
| 581 | throw new PropelException('filterByBannersI18n() only accepts arguments of type \xbanners\models\BannersI18n or Collection'); |
|
| 582 | } |
|
| 583 | } |
|
| 584 | ||
| 585 | /** |
|
| 586 | * Adds a JOIN clause to the query using the BannersI18n relation |
|