/** * Filter the query by a related CcShowDays object * * @param CcShowDays $ccShowDays 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 filterByCcShowDays($ccShowDays, $comparison = null) { return $this->addUsingAlias(CcShowPeer::ID, $ccShowDays->getDbShowId(), $comparison); }