/** * Filter the query by a related CcShowInstances object * * @param CcShowInstances $ccShowInstances the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ public function filterByCcShowInstances($ccShowInstances, $comparison = null) { return $this->addUsingAlias(CcFilesPeer::ID, $ccShowInstances->getDbRecordedFile(), $comparison); }