| @@ 568-577 (lines=10) @@ | ||
| 565 | * |
|
| 566 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 567 | */ |
|
| 568 | public function prune($bannerImageI18n = null) |
|
| 569 | { |
|
| 570 | if ($bannerImageI18n) { |
|
| 571 | $this->addCond('pruneCond0', $this->getAliasedColName(BannerImageI18nTableMap::COL_ID), $bannerImageI18n->getId(), Criteria::NOT_EQUAL); |
|
| 572 | $this->addCond('pruneCond1', $this->getAliasedColName(BannerImageI18nTableMap::COL_LOCALE), $bannerImageI18n->getLocale(), Criteria::NOT_EQUAL); |
|
| 573 | $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); |
|
| 574 | } |
|
| 575 | ||
| 576 | return $this; |
|
| 577 | } |
|
| 578 | ||
| 579 | /** |
|
| 580 | * Deletes all rows from the banner_image_i18n table. |
|
| @@ 454-463 (lines=10) @@ | ||
| 451 | * |
|
| 452 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
| 453 | */ |
|
| 454 | public function prune($bannersI18n = null) |
|
| 455 | { |
|
| 456 | if ($bannersI18n) { |
|
| 457 | $this->addCond('pruneCond0', $this->getAliasedColName(BannersI18nTableMap::COL_ID), $bannersI18n->getId(), Criteria::NOT_EQUAL); |
|
| 458 | $this->addCond('pruneCond1', $this->getAliasedColName(BannersI18nTableMap::COL_LOCALE), $bannersI18n->getLocale(), Criteria::NOT_EQUAL); |
|
| 459 | $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); |
|
| 460 | } |
|
| 461 | ||
| 462 | return $this; |
|
| 463 | } |
|
| 464 | ||
| 465 | /** |
|
| 466 | * Deletes all rows from the banners_i18n table. |
|