/** * 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'); } }
/** * Declares an association between this object and a Childмесяца object. * * @param Childмесяца $v * @return $this|\производственныепрограммы The current object (for fluent API support) * @throws PropelException */ public function setмесяца(Childмесяца $v = null) { if ($v === null) { $this->setмесяц(NULL); } else { $this->setмесяц($v->getId()); } $this->aмесяца = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the Childмесяца object, it will not be re-added. if ($v !== null) { $v->addпроизводственныепрограммы($this); } return $this; }
/** * Exclude object from result * * @param Childмесяца $�есяца Object to remove from the list of results * * @return $this|ChildмесяцаQuery The current query, for fluid interface */ public function prune($�есяца = null) { if ($�есяца) { $this->addUsingAlias(месяцаTableMap::COL_ID, $�есяца->getId(), Criteria::NOT_EQUAL); } return $this; }