/** * Exclude object from result * * @param ChildPhrasebookPhrases $phrasebookPhrases Object to remove from the list of results * * @return $this|ChildPhrasebookPhrasesQuery The current query, for fluid interface */ public function prune($phrasebookPhrases = null) { if ($phrasebookPhrases) { $this->addCond('pruneCond0', $this->getAliasedColName(PhrasebookPhrasesTableMap::COL_ID), $phrasebookPhrases->getId(), Criteria::NOT_EQUAL); $this->addCond('pruneCond1', $this->getAliasedColName(PhrasebookPhrasesTableMap::COL_LANG), $phrasebookPhrases->getLang(), Criteria::NOT_EQUAL); $this->addCond('pruneCond2', $this->getAliasedColName(PhrasebookPhrasesTableMap::COL_CAT_ID), $phrasebookPhrases->getCatId(), Criteria::NOT_EQUAL); $this->combine(array('pruneCond0', 'pruneCond1', 'pruneCond2'), Criteria::LOGICAL_OR); } return $this; }