@@ 446-459 (lines=14) @@ | ||
443 | * |
|
444 | * @return ChildRouteQuery The current query, for fluid interface |
|
445 | */ |
|
446 | public function filterBySCategory($sCategory, $comparison = null) |
|
447 | { |
|
448 | if ($sCategory instanceof \SCategory) { |
|
449 | return $this |
|
450 | ->addUsingAlias(RouteTableMap::COL_ID, $sCategory->getRouteId(), $comparison); |
|
451 | } elseif ($sCategory instanceof ObjectCollection) { |
|
452 | return $this |
|
453 | ->useSCategoryQuery() |
|
454 | ->filterByPrimaryKeys($sCategory->getPrimaryKeys()) |
|
455 | ->endUse(); |
|
456 | } else { |
|
457 | throw new PropelException('filterBySCategory() only accepts arguments of type \SCategory or Collection'); |
|
458 | } |
|
459 | } |
|
460 | ||
461 | /** |
|
462 | * Adds a JOIN clause to the query using the SCategory relation |
|
@@ 519-532 (lines=14) @@ | ||
516 | * |
|
517 | * @return ChildRouteQuery The current query, for fluid interface |
|
518 | */ |
|
519 | public function filterBySProducts($sProducts, $comparison = null) |
|
520 | { |
|
521 | if ($sProducts instanceof \SProducts) { |
|
522 | return $this |
|
523 | ->addUsingAlias(RouteTableMap::COL_ID, $sProducts->getRouteId(), $comparison); |
|
524 | } elseif ($sProducts instanceof ObjectCollection) { |
|
525 | return $this |
|
526 | ->useSProductsQuery() |
|
527 | ->filterByPrimaryKeys($sProducts->getPrimaryKeys()) |
|
528 | ->endUse(); |
|
529 | } else { |
|
530 | throw new PropelException('filterBySProducts() only accepts arguments of type \SProducts or Collection'); |
|
531 | } |
|
532 | } |
|
533 | ||
534 | /** |
|
535 | * Adds a JOIN clause to the query using the SProducts relation |
@@ 785-798 (lines=14) @@ | ||
782 | * |
|
783 | * @return ChildBannerImageQuery The current query, for fluid interface |
|
784 | */ |
|
785 | public function filterByBannerImageI18n($bannerImageI18n, $comparison = null) |
|
786 | { |
|
787 | if ($bannerImageI18n instanceof \xbanners\models\BannerImageI18n) { |
|
788 | return $this |
|
789 | ->addUsingAlias(BannerImageTableMap::COL_ID, $bannerImageI18n->getId(), $comparison); |
|
790 | } elseif ($bannerImageI18n instanceof ObjectCollection) { |
|
791 | return $this |
|
792 | ->useBannerImageI18nQuery() |
|
793 | ->filterByPrimaryKeys($bannerImageI18n->getPrimaryKeys()) |
|
794 | ->endUse(); |
|
795 | } else { |
|
796 | throw new PropelException('filterByBannerImageI18n() only accepts arguments of type \xbanners\models\BannerImageI18n or Collection'); |
|
797 | } |
|
798 | } |
|
799 | ||
800 | /** |
|
801 | * Adds a JOIN clause to the query using the BannerImageI18n relation |
@@ 491-504 (lines=14) @@ | ||
488 | * |
|
489 | * @return ChildBannersQuery The current query, for fluid interface |
|
490 | */ |
|
491 | public function filterByBannerImage($bannerImage, $comparison = null) |
|
492 | { |
|
493 | if ($bannerImage instanceof \xbanners\models\BannerImage) { |
|
494 | return $this |
|
495 | ->addUsingAlias(BannersTableMap::COL_ID, $bannerImage->getBannerId(), $comparison); |
|
496 | } elseif ($bannerImage instanceof ObjectCollection) { |
|
497 | return $this |
|
498 | ->useBannerImageQuery() |
|
499 | ->filterByPrimaryKeys($bannerImage->getPrimaryKeys()) |
|
500 | ->endUse(); |
|
501 | } else { |
|
502 | throw new PropelException('filterByBannerImage() only accepts arguments of type \xbanners\models\BannerImage or Collection'); |
|
503 | } |
|
504 | } |
|
505 | ||
506 | /** |
|
507 | * Adds a JOIN clause to the query using the BannerImage relation |
|
@@ 564-577 (lines=14) @@ | ||
561 | * |
|
562 | * @return ChildBannersQuery The current query, for fluid interface |
|
563 | */ |
|
564 | public function filterByBannersI18n($bannersI18n, $comparison = null) |
|
565 | { |
|
566 | if ($bannersI18n instanceof \xbanners\models\BannersI18n) { |
|
567 | return $this |
|
568 | ->addUsingAlias(BannersTableMap::COL_ID, $bannersI18n->getId(), $comparison); |
|
569 | } elseif ($bannersI18n instanceof ObjectCollection) { |
|
570 | return $this |
|
571 | ->useBannersI18nQuery() |
|
572 | ->filterByPrimaryKeys($bannersI18n->getPrimaryKeys()) |
|
573 | ->endUse(); |
|
574 | } else { |
|
575 | throw new PropelException('filterByBannersI18n() only accepts arguments of type \xbanners\models\BannersI18n or Collection'); |
|
576 | } |
|
577 | } |
|
578 | ||
579 | /** |
|
580 | * Adds a JOIN clause to the query using the BannersI18n relation |