| @@ 552-561 (lines=10) @@ | ||
| 549 | * |
|
| 550 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 551 | */ |
|
| 552 | public function prune($bannerImageI18n = null) |
|
| 553 | { |
|
| 554 | if ($bannerImageI18n) { |
|
| 555 | $this->addCond('pruneCond0', $this->getAliasedColName(BannerImageI18nTableMap::COL_ID), $bannerImageI18n->getId(), Criteria::NOT_EQUAL); |
|
| 556 | $this->addCond('pruneCond1', $this->getAliasedColName(BannerImageI18nTableMap::COL_LOCALE), $bannerImageI18n->getLocale(), Criteria::NOT_EQUAL); |
|
| 557 | $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); |
|
| 558 | } |
|
| 559 | ||
| 560 | return $this; |
|
| 561 | } |
|
| 562 | ||
| 563 | /** |
|
| 564 | * Deletes all rows from the banner_image_i18n table. |
|
| @@ 446-455 (lines=10) @@ | ||
| 443 | * |
|
| 444 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
| 445 | */ |
|
| 446 | public function prune($bannersI18n = null) |
|
| 447 | { |
|
| 448 | if ($bannersI18n) { |
|
| 449 | $this->addCond('pruneCond0', $this->getAliasedColName(BannersI18nTableMap::COL_ID), $bannersI18n->getId(), Criteria::NOT_EQUAL); |
|
| 450 | $this->addCond('pruneCond1', $this->getAliasedColName(BannersI18nTableMap::COL_LOCALE), $bannersI18n->getLocale(), Criteria::NOT_EQUAL); |
|
| 451 | $this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR); |
|
| 452 | } |
|
| 453 | ||
| 454 | return $this; |
|
| 455 | } |
|
| 456 | ||
| 457 | /** |
|
| 458 | * Deletes all rows from the banners_i18n table. |
|