/** * Filter the query by a related \мтр object * * @param \мтр|ObjectCollection $�тр the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildПроектыQuery The current query, for fluid interface */ public function filterByмтр($�тр, $comparison = null) { if ($�тр instanceof \мтр) { return $this->addUsingAlias(ПроектыTableMap::COL_ID, $�тр->getпроект(), $comparison); } elseif ($�тр instanceof ObjectCollection) { return $this->useмтрQuery()->filterByPrimaryKeys($�тр->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByмтр() only accepts arguments of type \\мтр or Collection'); } }
/** * @param Childмтр $�тр The Childмтр object to add. */ protected function doAddмтр(Childмтр $�тр) { $this->collмтрs[] = $�тр; $�тр->setтипытехникимтр($this); }
/** * @param Childмтр $�тр The Childмтр object to add. */ protected function doAddмтр(Childмтр $�тр) { $this->collмтрs[] = $�тр; $�тр->setстатуссостояниятехники($this); }
/** * @param Childмтр $�тр The Childмтр object to add. */ protected function doAddмтр(Childмтр $�тр) { $this->collмтрs[] = $�тр; $�тр->setПроекты($this); }
/** * @param Childмтр $�тр The Childмтр object to add. */ protected function doAddмтр(Childмтр $�тр) { $this->collмтрs[] = $�тр; $�тр->setКалендарь($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; }
/** * @param Childмтр $�тр The Childмтр object to add. */ protected function doAddмтр(Childмтр $�тр) { $this->collмтрs[] = $�тр; $�тр->setподрядчикимтр($this); }