/** * 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'); } }