/** * Filter the query by a related CcPref object * * @param CcPref $ccPref 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 filterByCcPref($ccPref, $comparison = null) { return $this->addUsingAlias(CcSubjsPeer::ID, $ccPref->getSubjid(), $comparison); }