/** * Filter the query by a related CcPlaylistcontents object * * @param CcPlaylistcontents $ccPlaylistcontents 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 filterByCcPlaylistcontents($ccPlaylistcontents, $comparison = null) { return $this->addUsingAlias(CcBlockPeer::ID, $ccPlaylistcontents->getDbBlockId(), $comparison); }