/** * 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 CcSubjsQuery The current query, for fluid interface */ public function filterByCcShowHosts($ccShowHosts, $comparison = null) { return $this->addUsingAlias(CcSubjsPeer::ID, $ccShowHosts->getDbHost(), $comparison); }