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