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