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