/** * Filter the query by a related \днинедели object * * @param \днинедели|ObjectCollection $�нинедели The related object(s) to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @throws \Propel\Runtime\Exception\PropelException * * @return ChildКалендарьQuery The current query, for fluid interface */ public function filterByднинедели($�нинедели, $comparison = null) { if ($�нинедели instanceof \днинедели) { return $this->addUsingAlias(КалендарьTableMap::COL_ДЕНЬ_НЕДЕЛИ, $�нинедели->getId(), $comparison); } elseif ($�нинедели instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(КалендарьTableMap::COL_ДЕНЬ_НЕДЕЛИ, $�нинедели->toKeyValue('PrimaryKey', 'Id'), $comparison); } else { throw new PropelException('filterByднинедели() only accepts arguments of type \\днинедели or Collection'); } }