@@ 789-802 (lines=14) @@ | ||
786 | * |
|
787 | * @return ChildBannerImageQuery The current query, for fluid interface |
|
788 | */ |
|
789 | public function filterByBannerImageI18n($bannerImageI18n, $comparison = null) |
|
790 | { |
|
791 | if ($bannerImageI18n instanceof \xbanners\models\BannerImageI18n) { |
|
792 | return $this |
|
793 | ->addUsingAlias(BannerImageTableMap::COL_ID, $bannerImageI18n->getId(), $comparison); |
|
794 | } elseif ($bannerImageI18n instanceof ObjectCollection) { |
|
795 | return $this |
|
796 | ->useBannerImageI18nQuery() |
|
797 | ->filterByPrimaryKeys($bannerImageI18n->getPrimaryKeys()) |
|
798 | ->endUse(); |
|
799 | } else { |
|
800 | throw new PropelException('filterByBannerImageI18n() only accepts arguments of type \xbanners\models\BannerImageI18n or Collection'); |
|
801 | } |
|
802 | } |
|
803 | ||
804 | /** |
|
805 | * Adds a JOIN clause to the query using the BannerImageI18n relation |
@@ 503-516 (lines=14) @@ | ||
500 | * |
|
501 | * @return ChildBannersQuery The current query, for fluid interface |
|
502 | */ |
|
503 | public function filterByBannerImage($bannerImage, $comparison = null) |
|
504 | { |
|
505 | if ($bannerImage instanceof \xbanners\models\BannerImage) { |
|
506 | return $this |
|
507 | ->addUsingAlias(BannersTableMap::COL_ID, $bannerImage->getBannerId(), $comparison); |
|
508 | } elseif ($bannerImage instanceof ObjectCollection) { |
|
509 | return $this |
|
510 | ->useBannerImageQuery() |
|
511 | ->filterByPrimaryKeys($bannerImage->getPrimaryKeys()) |
|
512 | ->endUse(); |
|
513 | } else { |
|
514 | throw new PropelException('filterByBannerImage() only accepts arguments of type \xbanners\models\BannerImage or Collection'); |
|
515 | } |
|
516 | } |
|
517 | ||
518 | /** |
|
519 | * Adds a JOIN clause to the query using the BannerImage relation |
|
@@ 576-589 (lines=14) @@ | ||
573 | * |
|
574 | * @return ChildBannersQuery The current query, for fluid interface |
|
575 | */ |
|
576 | public function filterByBannersI18n($bannersI18n, $comparison = null) |
|
577 | { |
|
578 | if ($bannersI18n instanceof \xbanners\models\BannersI18n) { |
|
579 | return $this |
|
580 | ->addUsingAlias(BannersTableMap::COL_ID, $bannersI18n->getId(), $comparison); |
|
581 | } elseif ($bannersI18n instanceof ObjectCollection) { |
|
582 | return $this |
|
583 | ->useBannersI18nQuery() |
|
584 | ->filterByPrimaryKeys($bannersI18n->getPrimaryKeys()) |
|
585 | ->endUse(); |
|
586 | } else { |
|
587 | throw new PropelException('filterByBannersI18n() only accepts arguments of type \xbanners\models\BannersI18n or Collection'); |
|
588 | } |
|
589 | } |
|
590 | ||
591 | /** |
|
592 | * Adds a JOIN clause to the query using the BannersI18n relation |