/** * 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->getдата()); } $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; }
/** * 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_ДАТА_ОТЧЁТА, $�алендарь->getдата(), $comparison); } elseif ($�алендарь instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(мобилизацияTableMap::COL_ДАТА_ОТЧЁТА, $�алендарь->toKeyValue('PrimaryKey', 'дата'), $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КалендарьRelatedByфактическаядатаустранения(ChildКалендарь $v = null) { if ($v === null) { $this->setфактическаядатаустранения(NULL); } else { $this->setфактическаядатаустранения($v->getдата()); } $this->aКалендарьRelatedByфактическаядатаустранения = $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ПредписанияRelatedByфактическаядатаустранения($this); } 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КалендарьRelatedByфактическаядатаустранения($�алендарь, $comparison = null) { if ($�алендарь instanceof \Календарь) { return $this->addUsingAlias(ПредписанияTableMap::COL_ФАКТИЧЕСКАЯ_ДАТА_УСТРАНЕНИЯ, $�алендарь->getдата(), $comparison); } elseif ($�алендарь instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(ПредписанияTableMap::COL_ФАКТИЧЕСКАЯ_ДАТА_УСТРАНЕНИЯ, $�алендарь->toKeyValue('PrimaryKey', 'дата'), $comparison); } else { throw new PropelException('filterByКалендарьRelatedByфактическаядатаустранения() only accepts arguments of type \\Календарь or Collection'); } }
/** * 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_ДАТА, $�алендарь->getдата(), Criteria::NOT_EQUAL); } return $this; }