@@ 469-491 (lines=23) @@ | ||
466 | * |
|
467 | * @return $this|ChildRouteQuery The current query, for fluid interface |
|
468 | */ |
|
469 | public function joinSCategory($relationAlias = null, $joinType = Criteria::LEFT_JOIN) |
|
470 | { |
|
471 | $tableMap = $this->getTableMap(); |
|
472 | $relationMap = $tableMap->getRelation('SCategory'); |
|
473 | ||
474 | // create a ModelJoin object for this join |
|
475 | $join = new ModelJoin(); |
|
476 | $join->setJoinType($joinType); |
|
477 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
478 | if ($previousJoin = $this->getPreviousJoin()) { |
|
479 | $join->setPreviousJoin($previousJoin); |
|
480 | } |
|
481 | ||
482 | // add the ModelJoin to the current object |
|
483 | if ($relationAlias) { |
|
484 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
485 | $this->addJoinObject($join, $relationAlias); |
|
486 | } else { |
|
487 | $this->addJoinObject($join, 'SCategory'); |
|
488 | } |
|
489 | ||
490 | return $this; |
|
491 | } |
|
492 | ||
493 | /** |
|
494 | * Use the SCategory relation SCategory object |
|
@@ 542-564 (lines=23) @@ | ||
539 | * |
|
540 | * @return $this|ChildRouteQuery The current query, for fluid interface |
|
541 | */ |
|
542 | public function joinSProducts($relationAlias = null, $joinType = Criteria::LEFT_JOIN) |
|
543 | { |
|
544 | $tableMap = $this->getTableMap(); |
|
545 | $relationMap = $tableMap->getRelation('SProducts'); |
|
546 | ||
547 | // create a ModelJoin object for this join |
|
548 | $join = new ModelJoin(); |
|
549 | $join->setJoinType($joinType); |
|
550 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
551 | if ($previousJoin = $this->getPreviousJoin()) { |
|
552 | $join->setPreviousJoin($previousJoin); |
|
553 | } |
|
554 | ||
555 | // add the ModelJoin to the current object |
|
556 | if ($relationAlias) { |
|
557 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
558 | $this->addJoinObject($join, $relationAlias); |
|
559 | } else { |
|
560 | $this->addJoinObject($join, 'SProducts'); |
|
561 | } |
|
562 | ||
563 | return $this; |
|
564 | } |
|
565 | ||
566 | /** |
|
567 | * Use the SProducts relation SProducts object |
@@ 503-525 (lines=23) @@ | ||
500 | * |
|
501 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
502 | */ |
|
503 | public function joinBannerImage($relationAlias = null, $joinType = 'LEFT JOIN') |
|
504 | { |
|
505 | $tableMap = $this->getTableMap(); |
|
506 | $relationMap = $tableMap->getRelation('BannerImage'); |
|
507 | ||
508 | // create a ModelJoin object for this join |
|
509 | $join = new ModelJoin(); |
|
510 | $join->setJoinType($joinType); |
|
511 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
512 | if ($previousJoin = $this->getPreviousJoin()) { |
|
513 | $join->setPreviousJoin($previousJoin); |
|
514 | } |
|
515 | ||
516 | // add the ModelJoin to the current object |
|
517 | if ($relationAlias) { |
|
518 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
519 | $this->addJoinObject($join, $relationAlias); |
|
520 | } else { |
|
521 | $this->addJoinObject($join, 'BannerImage'); |
|
522 | } |
|
523 | ||
524 | return $this; |
|
525 | } |
|
526 | ||
527 | /** |
|
528 | * Use the BannerImage relation BannerImage object |
@@ 735-757 (lines=23) @@ | ||
732 | * |
|
733 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
734 | */ |
|
735 | public function joinBanners($relationAlias = null, $joinType = Criteria::INNER_JOIN) |
|
736 | { |
|
737 | $tableMap = $this->getTableMap(); |
|
738 | $relationMap = $tableMap->getRelation('Banners'); |
|
739 | ||
740 | // create a ModelJoin object for this join |
|
741 | $join = new ModelJoin(); |
|
742 | $join->setJoinType($joinType); |
|
743 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
744 | if ($previousJoin = $this->getPreviousJoin()) { |
|
745 | $join->setPreviousJoin($previousJoin); |
|
746 | } |
|
747 | ||
748 | // add the ModelJoin to the current object |
|
749 | if ($relationAlias) { |
|
750 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
751 | $this->addJoinObject($join, $relationAlias); |
|
752 | } else { |
|
753 | $this->addJoinObject($join, 'Banners'); |
|
754 | } |
|
755 | ||
756 | return $this; |
|
757 | } |
|
758 | ||
759 | /** |
|
760 | * Use the Banners relation Banners object |
|
@@ 808-830 (lines=23) @@ | ||
805 | * |
|
806 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
807 | */ |
|
808 | public function joinBannerImageI18n($relationAlias = null, $joinType = 'LEFT JOIN') |
|
809 | { |
|
810 | $tableMap = $this->getTableMap(); |
|
811 | $relationMap = $tableMap->getRelation('BannerImageI18n'); |
|
812 | ||
813 | // create a ModelJoin object for this join |
|
814 | $join = new ModelJoin(); |
|
815 | $join->setJoinType($joinType); |
|
816 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
817 | if ($previousJoin = $this->getPreviousJoin()) { |
|
818 | $join->setPreviousJoin($previousJoin); |
|
819 | } |
|
820 | ||
821 | // add the ModelJoin to the current object |
|
822 | if ($relationAlias) { |
|
823 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
824 | $this->addJoinObject($join, $relationAlias); |
|
825 | } else { |
|
826 | $this->addJoinObject($join, 'BannerImageI18n'); |
|
827 | } |
|
828 | ||
829 | return $this; |
|
830 | } |
|
831 | ||
832 | /** |
|
833 | * Use the BannerImageI18n relation BannerImageI18n object |
@@ 397-419 (lines=23) @@ | ||
394 | * |
|
395 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
396 | */ |
|
397 | public function joinBanners($relationAlias = null, $joinType = 'LEFT JOIN') |
|
398 | { |
|
399 | $tableMap = $this->getTableMap(); |
|
400 | $relationMap = $tableMap->getRelation('Banners'); |
|
401 | ||
402 | // create a ModelJoin object for this join |
|
403 | $join = new ModelJoin(); |
|
404 | $join->setJoinType($joinType); |
|
405 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
406 | if ($previousJoin = $this->getPreviousJoin()) { |
|
407 | $join->setPreviousJoin($previousJoin); |
|
408 | } |
|
409 | ||
410 | // add the ModelJoin to the current object |
|
411 | if ($relationAlias) { |
|
412 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
413 | $this->addJoinObject($join, $relationAlias); |
|
414 | } else { |
|
415 | $this->addJoinObject($join, 'Banners'); |
|
416 | } |
|
417 | ||
418 | return $this; |
|
419 | } |
|
420 | ||
421 | /** |
|
422 | * Use the Banners relation Banners object |
@@ 514-536 (lines=23) @@ | ||
511 | * |
|
512 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
513 | */ |
|
514 | public function joinBannerImage($relationAlias = null, $joinType = Criteria::INNER_JOIN) |
|
515 | { |
|
516 | $tableMap = $this->getTableMap(); |
|
517 | $relationMap = $tableMap->getRelation('BannerImage'); |
|
518 | ||
519 | // create a ModelJoin object for this join |
|
520 | $join = new ModelJoin(); |
|
521 | $join->setJoinType($joinType); |
|
522 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
523 | if ($previousJoin = $this->getPreviousJoin()) { |
|
524 | $join->setPreviousJoin($previousJoin); |
|
525 | } |
|
526 | ||
527 | // add the ModelJoin to the current object |
|
528 | if ($relationAlias) { |
|
529 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
530 | $this->addJoinObject($join, $relationAlias); |
|
531 | } else { |
|
532 | $this->addJoinObject($join, 'BannerImage'); |
|
533 | } |
|
534 | ||
535 | return $this; |
|
536 | } |
|
537 | ||
538 | /** |
|
539 | * Use the BannerImage relation BannerImage object |
|
@@ 587-609 (lines=23) @@ | ||
584 | * |
|
585 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
586 | */ |
|
587 | public function joinBannersI18n($relationAlias = null, $joinType = 'LEFT JOIN') |
|
588 | { |
|
589 | $tableMap = $this->getTableMap(); |
|
590 | $relationMap = $tableMap->getRelation('BannersI18n'); |
|
591 | ||
592 | // create a ModelJoin object for this join |
|
593 | $join = new ModelJoin(); |
|
594 | $join->setJoinType($joinType); |
|
595 | $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias); |
|
596 | if ($previousJoin = $this->getPreviousJoin()) { |
|
597 | $join->setPreviousJoin($previousJoin); |
|
598 | } |
|
599 | ||
600 | // add the ModelJoin to the current object |
|
601 | if ($relationAlias) { |
|
602 | $this->addAlias($relationAlias, $relationMap->getRightTable()->getName()); |
|
603 | $this->addJoinObject($join, $relationAlias); |
|
604 | } else { |
|
605 | $this->addJoinObject($join, 'BannersI18n'); |
|
606 | } |
|
607 | ||
608 | return $this; |
|
609 | } |
|
610 | ||
611 | /** |
|
612 | * Use the BannersI18n relation BannersI18n object |