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