/** * Filter the query by a related CcBlockcontents object * * @param CcBlockcontents $ccBlockcontents the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcBlockQuery The current query, for fluid interface */ public function filterByCcBlockcontents($ccBlockcontents, $comparison = null) { return $this->addUsingAlias(CcBlockPeer::ID, $ccBlockcontents->getDbBlockId(), $comparison); }