/** * Filter the query by a related CcShowHosts object * * @param CcShowHosts $ccShowHosts the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcShowQuery The current query, for fluid interface */ public function filterByCcShowHosts($ccShowHosts, $comparison = null) { return $this->addUsingAlias(CcShowPeer::ID, $ccShowHosts->getDbShow(), $comparison); }