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